File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ jobs:
40
40
uses : docker/build-push-action@v3
41
41
with :
42
42
context : .
43
- push : ${{ github.event_name == 'push' || github.event_name == 'workflow_call ' }}
43
+ push : ${{ github.event_name != 'pull_request ' }}
44
44
tags : crenshawdotdev/argocd-executor-plugin:${{ inputs.tag || 'latest' }}
45
45
cache-from : type=gha
46
46
cache-to : type=gha,mode=max
47
47
- name : Install cosign
48
48
uses : sigstore/cosign-installer@main
49
49
with :
50
50
cosign-release : ' v1.13.0'
51
- if : ${{ github.event_name == 'push' || github.event_name == 'workflow_call ' }}
51
+ if : ${{ github.event_name != 'pull_request ' }}
52
52
- name : Sign ${{ inputs.tag }} image
53
53
run : |
54
54
cosign sign --key env://COSIGN_PRIVATE_KEY crenshawdotdev/argocd-executor-plugin:${{ inputs.tag }}
You can’t perform that action at this time.
0 commit comments