Skip to content

Commit 1f31b11

Browse files
committed
docker-publish.yml: Use sigstore/cosign-installer@main
and use default cosign version as specified in action.yml; see https://github.com/sigstore/cosign-installer Hope this fixes recurrent error in signing the published Docker image once and for all.
1 parent 6fcf1da commit 1f31b11

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ jobs:
4646
# https://github.com/sigstore/cosign-installer
4747
- name: Install cosign
4848
if: github.event_name != 'pull_request'
49-
uses: sigstore/cosign-installer@7e0881f8fe90b25e305bbf0309761e9314607e25
50-
with:
51-
cosign-release: 'v1.9.0'
49+
uses: sigstore/cosign-installer@main
5250

51+
- name: Check cosign version
52+
if: github.event_name != 'pull_request'
53+
run: cosign version
5354

5455
# Workaround: https://github.com/docker/build-push-action/issues/461
5556
- name: Setup Docker buildx
@@ -92,6 +93,7 @@ jobs:
9293
cache-from: type=gha
9394
cache-to: type=gha,mode=max
9495

96+
9597
# Sign the resulting Docker image digest except on PRs.
9698
# This will only write to the public Rekor transparency log when the Docker
9799
# repository is public to avoid leaking data. If you would like to publish

0 commit comments

Comments
 (0)