Skip to content

Pin cosign to 2.x in the release workflow - #49

Merged
tamnd merged 1 commit into
mainfrom
fix/pin-cosign
Jun 19, 2026
Merged

Pin cosign to 2.x in the release workflow#49
tamnd merged 1 commit into
mainfrom
fix/pin-cosign

Conversation

@tamnd

@tamnd tamnd commented Jun 19, 2026

Copy link
Copy Markdown
Owner

cosign 3.x makes the new bundle format the default. That ignores the --output-signature and --output-certificate flags the GoReleaser signs block passes to sign-blob, then aborts trying to write a bundle to an empty path. The v0.3.1 / v0.3.7 / v0.2.3 release runs all failed at this signing step.

Pinning cosign-installer to v2.6.3 restores the checksums.txt.sig + checksums.txt.pem outputs and stops the signing tool from floating to a breaking latest.

cosign 3.x flips the new bundle format on by default, which ignores the
--output-signature and --output-certificate flags our signs block passes
to sign-blob and then aborts trying to write a bundle to an empty path.
The last few releases failed at the signing step for exactly this reason.

Pin cosign-installer to v2.6.3 so the release keeps producing the
checksums.txt.sig and checksums.txt.pem pair, and so the signing tool
stops floating to a latest that can break the pipeline without warning.
@tamnd
tamnd merged commit e0e4096 into main Jun 19, 2026
9 checks passed
@tamnd
tamnd deleted the fix/pin-cosign branch June 19, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant