Skip to content

Commit

Permalink
fix signing release binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
capnspacehook authored Sep 22, 2023
1 parent 2629561 commit 931d954
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
env:
- COSIGN_EXPERIMENTAL=true

changelog:
use: github-native
sort: asc
Expand All @@ -17,10 +14,10 @@ builds:
- -buildmode=pie
- -buildvcs=true
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -s -w -X "main.version={{ .Tag }}"
main: ./cmd/whalewall
mod_timestamp: '{{ .CommitTimestamp }}'

archives:
- id: binary-archive
Expand All @@ -43,7 +40,7 @@ signs:
- id: checksum-signature
cmd: cosign
certificate: "${artifact}.crt"
args: ["sign-blob", "--output-signature", "${signature}", "--output-certificate", "${certificate}", "${artifact}"]
args: ["sign-blob", "--output-signature", "${signature}", "--output-certificate", "${certificate}", "${artifact}", "--yes"]
artifacts: checksum

release:
Expand Down

0 comments on commit 931d954

Please sign in to comment.