Skip to content

Commit f16fd20

Browse files
committed
fix: cosign update
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent 2c51e7a commit f16fd20

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ source:
4141
# config the archives filenames, format, and other options.
4242
# https://goreleaser.com/customization/archive
4343
archives:
44-
- format: tar.gz
44+
- formats: [tar.gz]
4545
wrap_in_directory: true
4646
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
4747
builds_info:
@@ -64,11 +64,10 @@ checksum:
6464
# https://goreleaser.com/customization/sign
6565
signs:
6666
- cmd: cosign
67-
certificate: "${artifact}.pem"
67+
signature: "${artifact}.sigstore.json"
6868
args:
6969
- sign-blob
70-
- "--output-certificate=${certificate}"
71-
- "--output-signature=${signature}"
70+
- "--bundle=${signature}"
7271
- "${artifact}"
7372
- "--yes"
7473
artifacts: checksum

0 commit comments

Comments
 (0)