Skip to content

Commit 2057566

Browse files
Install cosign for non pull request
1 parent b9c4c85 commit 2057566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker.yml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
fetch-depth: 0
4545

4646
- name: Install Cosign
47+
if: github.event_name != 'pull_request'
4748
uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1
4849
with:
4950
cosign-release: 'v1.13.1'
@@ -171,6 +172,7 @@ jobs:
171172
fetch-depth: 0
172173

173174
- name: Install Cosign
175+
if: github.event_name != 'pull_request'
174176
uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1
175177
with:
176178
cosign-release: 'v1.13.1'

0 commit comments

Comments
 (0)