Skip to content

Commit 80cb09c

Browse files
committed
Fix cosign invocation from goreleaser
1 parent fe3ead8 commit 80cb09c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.goreleaser.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ builds:
6262
main: ./cmd/dev
6363
# This section defines the release format.
6464
archives:
65-
- format: tar.gz # we can use binary, but it seems there's an issue where goreleaser skips the sboms
65+
- formats: tar.gz # we can use binary, but it seems there's an issue where goreleaser skips the sboms
6666
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" # "{{ .Binary }}-{{ .Os }}-{{ .Arch }}"
6767
format_overrides:
6868
- goos: windows
69-
format: zip
69+
formats: zip
7070
# This section defines how to release to winget.
7171
winget:
7272
- name: minder
@@ -125,11 +125,11 @@ release:
125125
name: minder
126126
# This section defines how and which artifacts we want to sign for the release.
127127
signs:
128-
- cmd: cosign
128+
- id: cosign
129+
cmd: cosign
129130
args:
130131
- "sign-blob"
131-
- "--output-signature=${signature}"
132-
- "--output-certificate=${certificate}"
132+
- "--bundle=${signature}"
133133
- "${artifact}"
134134
- "--yes" # needed on cosign 2.0.0+
135135
artifacts: archive

0 commit comments

Comments
 (0)