From c85effd15a77ca015102a7dd3fad6fc634db6a57 Mon Sep 17 00:00:00 2001 From: Aparna Radhakrishnan Date: Mon, 16 Sep 2024 15:54:04 -0400 Subject: [PATCH] Update docker-build-and-push.yml --- .github/workflows/docker-build-and-push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index e60518b39..d0df5fd77 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -3,9 +3,9 @@ name: Create and publish a Docker image # Configures this workflow to run every time a change is pushed to the branch called `release`. on: - pull_request: + push: #on pull_request from container for testing - branches: ['main'] + branches: ['container'] # 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: @@ -19,7 +19,7 @@ jobs: # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. permissions: contents: read - packages: write-all + packages: write attestations: write id-token: write #