From 57df409a3facf00e5d631c22fafffe36271f7f33 Mon Sep 17 00:00:00 2001 From: Omri Shiv <327609+OmriShiv@users.noreply.github.com> Date: Mon, 13 May 2024 10:19:01 -0700 Subject: [PATCH] workflow cleanup Signed-off-by: Omri Shiv <327609+OmriShiv@users.noreply.github.com> --- .github/workflows/build-and-push.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index 046cab0..1de472e 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -1,10 +1,8 @@ # name: Create and publish a Docker image -# Configures this workflow to run every time a change is pushed to the branch called `release`. -on: - push: - branches: ['main'] +# Configures this workflow to run every time a change is pushed. +on: push # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: @@ -24,7 +22,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. + # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -57,4 +55,3 @@ jobs: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true -