Fix release workflow: use cosign bundle format#17
Merged
Conversation
cosign v3 (installed by sigstore/cosign-installer@v4.1.2) deprecated --output-signature and --output-certificate and now requires --bundle for the new bundle format. The first v2026.05.21 release attempt failed at the signing step: Error: signing SHA256SUMS: create bundle file: open : no such file or directory Switch to a single SHA256SUMS.sigstore.json bundle containing the signature, signing certificate, and Rekor inclusion proof. .sigstore.json is the extension Scorecard's Signed-Releases check recognises as a Sigstore bundle. VERIFICATION.md updated to match: cosign verify-blob --bundle.
wnstfy
enabled auto-merge (squash)
May 21, 2026 10:36
Contributor
Trivy misconfiguration findings (HIGH + CRITICAL)Findings below. Fix the issue or add an ignore entry to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First release of
v2026.05.21failed at the cosign signing step:Root cause: cosign v3 (installed by
sigstore/cosign-installer@v4.1.2) deprecated--output-signatureand--output-certificatein favor of--bundle. The deprecated flags are now silently ignored, and the command falls through to--bundle ""which fails.Fix
SHA256SUMS.sigstore.json(contains signature + certificate + Rekor inclusion proof in one artifact)..sigstore.jsonis the extension OpenSSF Scorecard's Signed-Releases check recognises as a Sigstore bundle.VERIFICATION.mdupdated:cosign verify-blob --bundle SHA256SUMS.sigstore.json ....Next steps after merge
v2026.05.21tag (no release was published from it).v2026.05.21at the new main HEAD to trigger a clean release.Test plan
scan,lint,misconfigchecks pass — verifiedactionlintclean locally.Create GitHub Releaseand the four expected assets land on the Release page (.tar.gz,.zip,SHA256SUMS,SHA256SUMS.sigstore.json).cosign verify-blob --bundle ...succeeds against the downloaded SHA256SUMS.gh attestation verifysucceeds against the downloaded.tar.gz.