From 24c79908301ca334c0f28d0c78052af1acc20626 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 12 Sep 2024 09:34:26 -0400 Subject: [PATCH] build image from dev --- .../{build-test-image.yml => build_image_from_dev.yml} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename .github/workflows/{build-test-image.yml => build_image_from_dev.yml} (92%) diff --git a/.github/workflows/build-test-image.yml b/.github/workflows/build_image_from_dev.yml similarity index 92% rename from .github/workflows/build-test-image.yml rename to .github/workflows/build_image_from_dev.yml index 32622bd4..9e6d301d 100644 --- a/.github/workflows/build-test-image.yml +++ b/.github/workflows/build_image_from_dev.yml @@ -1,10 +1,10 @@ -name: build_test_image +name: build_image_from_dev on: push: - branches: ['testing'] + branches: [ 'dev' ] pull_request: - branches: [ 'testing' ] + branches: [ 'dev' ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -70,7 +70,6 @@ jobs: - run_tests - sonarcloud runs-on: ubuntu-latest - if: github.ref == 'refs/heads/testing' permissions: contents: read packages: write @@ -87,13 +86,12 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - branch: testing - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:testing + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc