Skip to content

Commit

Permalink
Update docker-build-and-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL authored Sep 16, 2024
1 parent e83650c commit c85effd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
#
Expand Down

0 comments on commit c85effd

Please sign in to comment.