Skip to content

Commit 6c07908

Browse files
committed
build: Add support for new cosign bundle
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 934455f commit 6c07908

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ archives:
2424

2525
signs:
2626
- cmd: cosign
27-
certificate: '${artifact}.pem'
27+
signature: "${artifact}.sigstore.json"
2828
args:
2929
- sign-blob
3030
- '--yes'
31-
- '--output-signature=${signature}'
32-
- '--output-certificate=${certificate}'
33-
- '--bundle=${artifact}.bundle'
31+
- '--new-bundle-format=true'
32+
- '--bundle=${signature}'
3433
- '${artifact}'
3534
artifacts: checksum
3635
output: true
@@ -44,7 +43,3 @@ sboms:
4443
artifacts: source
4544
documents:
4645
- '{{ .ProjectName }}_{{ .Version }}_sbom.spdx.json'
47-
48-
release:
49-
extra_files:
50-
- glob: ./**/*.bundle

0 commit comments

Comments
 (0)