-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
41 lines (41 loc) · 873 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
project_name: container-tag-exists
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/Hsn723/container-tag-exists/cmd.version={{.Version}}
- -X github.com/Hsn723/container-tag-exists/cmd.commit={{.Commit}}
- -X github.com/Hsn723/container-tag-exists/cmd.date={{.Date}}
- -X github.com/Hsn723/container-tag-exists/cmd.builtBy=goreleaser
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-dev"
changelog:
use: github-native
source:
enabled: true
sboms:
- id: archive
artifacts: archive
- id: source
artifacts: source
signs:
- cmd: cosign
certificate: "${artifact}.pem"
args:
- sign-blob
- "--yes"
- "--output-certificate=${certificate}"
- "--output-signature=${signature}"
- "${artifact}"
artifacts: all
output: true