-
Notifications
You must be signed in to change notification settings - Fork 29
/
.goreleaser.yml
51 lines (42 loc) · 897 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
42
43
44
45
46
47
48
49
50
51
project_name: crypki
gomod:
proxy: true
env:
- GO111MODULE=on
- COSIGN_YES=true
- CGO_ENABLED=1 # required for miekg/pkcs11
sboms:
- artifacts: binary
builds:
- main: ./cmd/crypki
goos:
- linux
goarch:
- amd64
dockers:
- image_templates:
- "ghcr.io/theparanoids/{{ .ProjectName }}:latest"
- "ghcr.io/theparanoids/{{ .ProjectName }}:{{ .Version }}"
- "ghcr.io/theparanoids/{{ .ProjectName }}:{{ .ShortCommit }}"
dockerfile: Dockerfile
signs:
- cmd: cosign
signature: "${artifact}.sig"
certificate: "${artifact}.pem"
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
artifacts: all
output: true
docker_signs:
- cmd: cosign
args:
- 'sign'
- '${artifact}@${digest}'
artifacts: all
output: true
release:
footer: |
### Thanks for all contributors!