From 2a77c491e1dd676c4c132ab3fd223a3d12f1132e Mon Sep 17 00:00:00 2001 From: Ricky Moorhouse Date: Fri, 13 Sep 2024 10:26:17 +0100 Subject: [PATCH] chore: enable actions on trawler-v1 branch --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/test-and-publish.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bbe768a..8d09ad5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ main ] + branches: [ trawler-v1 ] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [ trawler-v1 ] schedule: - cron: '31 21 * * 4' diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 3007496..5b16b52 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -7,13 +7,13 @@ on: push: # Publish `main` as Docker `latest` image. branches: - - main + - trawler-v1 # Publish `v1.2.3` tags as releases. tags: - v* pull_request: - branches: [ main ] + branches: [ trawler-v1 ] env: IMAGE_NAME: ghcr.io/ibm/apiconnect-trawler/trawler @@ -60,7 +60,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: ${{ env.IMAGE_NAME }} - tags: latest ${{ github.ref_name }} + tags: ${{ github.ref_name }} containerfiles: | ./Containerfile @@ -77,4 +77,4 @@ jobs: with: registry: "ghcr.io" image: ${{ steps.build-image.outputs.image }} - tags: latest ${{ github.ref_name }} + tags: ${{ github.ref_name }}