Skip to content

fix(release): drop cosign --oidc-issuer flag that breaks signing - #322

Merged
jongio merged 1 commit into
mainfrom
fix/release-cosign-signing
Jul 18, 2026
Merged

fix(release): drop cosign --oidc-issuer flag that breaks signing#322
jongio merged 1 commit into
mainfrom
fix/release-cosign-signing

Conversation

@jongio

@jongio jongio commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Problem

The v0.14.0 release run built all binaries, archives, SBOMs, and checksums, then failed at the cosign signing step:

could not sign artifact: dispatch_checksums.txt
Error: cannot specify service URLs and use signing config

Newer cosign (the cosign-installer action installs the latest by default and it has never been pinned) auto-loads a signing config from its embedded trusted root and now rejects explicitly-set service URLs. The --oidc-issuer flag in the goreleaser signs block triggers this, so no GitHub Release was published.

Fix

Remove the --oidc-issuer=https://token.actions.githubusercontent.com arg. In GitHub Actions the ambient OIDC identity plus the signing config already supply the issuer, so the flag is redundant. This matches the canonical goreleaser keyless-signing recipe.

The --output-signature / --output-certificate flags stay (they only emit deprecation warnings, not errors) so the .sig and .pem artifacts attached to the release are unchanged.

Follow-up

The orphaned v0.14.0 tag (pushed before goreleaser ran, no release attached) will be deleted and the Release workflow re-triggered after this merges.

Newer cosign (installed unpinned by cosign-installer) auto-loads a signing config and rejects explicitly-set service URLs, so sign-blob failed with 'cannot specify service URLs and use signing config' and no release was published. The ambient GitHub Actions OIDC and the signing config supply the issuer, so the flag is redundant. Remove it to restore keyless signing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 524cf702-8922-4cfd-b23f-4069b734e09b
@jongio
jongio merged commit 7d819f5 into main Jul 18, 2026
2 checks passed
@jongio
jongio deleted the fix/release-cosign-signing branch July 18, 2026 18:18
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