Skip to content

Commit 5ed7588

Browse files
committed
push
1 parent b86f9ec commit 5ed7588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
uses: docker/build-push-action@v3
4141
with:
4242
context: .
43-
push: ${{ github.event_name == 'push' || github.event_name == 'workflow_call' }}
43+
push: ${{ github.event_name != 'pull_request' }}
4444
tags: crenshawdotdev/argocd-executor-plugin:${{ inputs.tag || 'latest' }}
4545
cache-from: type=gha
4646
cache-to: type=gha,mode=max
4747
- name: Install cosign
4848
uses: sigstore/cosign-installer@main
4949
with:
5050
cosign-release: 'v1.13.0'
51-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_call' }}
51+
if: ${{ github.event_name != 'pull_request' }}
5252
- name: Sign ${{ inputs.tag }} image
5353
run: |
5454
cosign sign --key env://COSIGN_PRIVATE_KEY crenshawdotdev/argocd-executor-plugin:${{ inputs.tag }}

0 commit comments

Comments
 (0)