Skip to content

Commit 5468e94

Browse files
committed
fix(release): drop --oidc-issuer flag for cosign v3 compatibility
cosign v3 (installed by sigstore/cosign-installer@v4) rejects --oidc-issuer when it conflicts with its embedded signing config ("cannot specify service URLs and use signing config"). In GitHub Actions cosign auto-detects the token issuer from the environment, so the flag is redundant; dropping it lets sign-blob succeed. Also uses --certificate-oidc-issuer-regexp in the verification snippet in release notes for the same forward-compat reason.
1 parent 7507635 commit 5468e94

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.goreleaser.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ signs:
3030
certificate: "${artifact}.pem"
3131
args:
3232
- sign-blob
33-
- --oidc-issuer=https://token.actions.githubusercontent.com
3433
- --output-certificate=${certificate}
3534
- --output-signature=${signature}
3635
- ${artifact}
@@ -54,7 +53,7 @@ release:
5453
--certificate checksums.txt.pem \
5554
--signature checksums.txt.sig \
5655
--certificate-identity-regexp '^https://github.com/adrianbrad/queue/\.github/workflows/release\.yaml@refs/tags/' \
57-
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
56+
--certificate-oidc-issuer-regexp '^https://token\.actions\.githubusercontent\.com' \
5857
checksums.txt
5958
```
6059

0 commit comments

Comments
 (0)