Skip to content

Commit fb07353

Browse files
committed
fix: update Cosign configuration to use signature bundle for checksum signing
1 parent 28f5319 commit fb07353

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,16 @@ changelog:
102102
sboms:
103103
- artifacts: archive
104104

105+
# sign checksums/archives using Cosign
105106
signs:
106107
- artifacts: checksum
107108
cmd: cosign
108-
certificate: "${artifact}.pem"
109+
signature: "${artifact}.sigstore.json"
109110
args:
110111
- "sign-blob"
111-
- "--output-certificate=${certificate}"
112-
- "--output-signature=${signature}"
113-
- "--yes"
112+
- "--bundle=${signature}"
114113
- "${artifact}"
114+
- "--yes"
115115

116116
# sign published Docker images using Cosign
117117
docker_signs:

0 commit comments

Comments
 (0)