Skip to content

Commit 31210e0

Browse files
committed
Use cosign bundle for release checksum signing
1 parent f6929b3 commit 31210e0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ signs:
4949
- cmd: cosign
5050
artifacts: checksum
5151
output: true
52+
signature: "${artifact}.bundle"
5253
args:
5354
- sign-blob
5455
- --yes
55-
- --output-certificate=${certificate}
56-
- --output-signature=${signature}
56+
- --new-bundle-format=true
57+
- --bundle=${signature}
5758
- ${artifact}
5859

5960
notarize:

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pushing the tag triggers the GitHub Actions release workflow, which:
1414
1. Runs the full test suite
1515
2. Builds binaries for all platforms (linux/darwin/windows/freebsd/openbsd x amd64/arm64)
1616
3. Signs macOS binaries (Developer ID + notarization)
17-
4. Signs checksums with cosign (keyless, OIDC)
17+
4. Signs checksums with a cosign keyless bundle (OIDC)
1818
5. Generates SBOMs with Syft
1919
6. Builds .deb and .rpm packages
2020
7. For stable tags only, publishes the Homebrew cask to `basecamp/homebrew-tap`

0 commit comments

Comments
 (0)