Skip to content

Commit 0566d46

Browse files
fix(release): bump cosign v2.4.1 → v2.6.3 so goreleaser-action can verify its download bundle (#31)
The v0.3.0 release run (27300066093) failed before goreleaser even started: goreleaser-action verifies the downloaded goreleaser binary against checksums.txt.sigstore.json, and cosign v2.4.1 cannot read the new-style protobuf sigstore bundle goreleaser v2.16.0 publishes ('bundle does not contain cert for verification, please provide public key'). v2.6.3 (latest v2 line) reads the new bundle format while keeping our signs: invocation (sign-blob --output-signature --output-certificate --yes) contract-identical. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 9008a29 commit 0566d46

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,15 @@ jobs:
5353
# pinned: tag v3.7.0
5454
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6
5555
with:
56-
cosign-release: 'v2.4.1'
56+
# v2.6.3 (latest v2 line). The v0.3.0 release run failed BEFORE
57+
# goreleaser even started: goreleaser-action verifies its own
58+
# download against checksums.txt.sigstore.json, and cosign v2.4.1
59+
# cannot read the new-style protobuf sigstore bundle goreleaser
60+
# v2.16.0 ships ("bundle does not contain cert for verification").
61+
# Staying on the v2 line keeps our signs: invocation
62+
# (sign-blob --output-signature/--output-certificate --yes)
63+
# contract-identical.
64+
cosign-release: 'v2.6.3'
5765

5866
- name: Install syft (SBOM)
5967
# pinned: tag v0.20.0

0 commit comments

Comments
 (0)