Skip to content

Commit

Permalink
update .goreleaser.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aooohan committed Dec 17, 2023
1 parent d34dada commit 9a2ff3f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
go-version: 1.21
cache: true
- uses: sigstore/[email protected]
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
Expand Down
22 changes: 22 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,28 @@ brews:
# owner: microsoft
# name: winget-pkgs
# branch: master
sboms:
- artifacts: archive

signs:
- cmd: cosign
certificate: "${artifact}.pem"
output: true
artifacts: checksum
args:
- sign-blob
- "--output-certificate=${certificate}"
- "--output-signature=${signature}"
- "${artifact}"
- --yes
docker_signs:
- cmd: cosign
artifacts: manifests
output: true
args:
- "sign"
- "${artifact}@${digest}"
- --yes

release:
name_template: "v{{ .Version }}"
Expand Down

0 comments on commit 9a2ff3f

Please sign in to comment.