Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update .goreleaser.yaml
Browse files Browse the repository at this point in the history
aooohan committed Dec 17, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent d34dada commit 9a2ff3f
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
@@ -22,6 +22,7 @@ jobs:
with:
go-version: 1.21
cache: true
- uses: sigstore/[email protected]
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
22 changes: 22 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit 9a2ff3f

Please sign in to comment.