Skip to content

Commit

Permalink
Add a check to the build-push-action as well, not just to login
Browse files Browse the repository at this point in the history
Signed-off-by: Shankari <k.shankari@ee.doe.gov>
  • Loading branch information
shankari committed Nov 14, 2024
1 parent c31bd12 commit aa971b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push_csms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
with:
load: true
context: ${{ matrix.context }}
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=${{ matrix.image_name }}
Expand Down

0 comments on commit aa971b1

Please sign in to comment.