Skip to content

Commit

Permalink
Change: only enable load feature if pull is not set (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalholthaus authored Oct 6, 2023
1 parent 577dbc5 commit f61a325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container-build-push-generic/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ runs:
labels: ${{ steps.meta.outputs.labels }}
build-args: ${{ inputs.build-args }}
secrets: ${{ inputs.build-secrets }}
load: true
load: ${{ github.event_name == 'pull_request' }}

- name: Container signing
if: ${{ github.event_name != 'pull_request' && inputs.cosign-key && inputs.cosign-key-password }}
Expand Down

0 comments on commit f61a325

Please sign in to comment.