-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
46 lines (41 loc) · 1.03 KB
/
.goreleaser.yaml
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
builds:
- id:
binary: webhook
main: .
env:
- GO_PKG=github.com/exoscale/cert-manager-webhook-exoscale
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -w -extldflags "-static"
goos:
- linux
goarch:
- amd64
dockers:
- goos: linux
goarch: amd64
image_templates:
- "exoscale/cert-manager-webhook-exoscale:latest"
- "exoscale/cert-manager-webhook-exoscale:{{ .Major }}"
- "exoscale/cert-manager-webhook-exoscale:{{ .Major }}.{{ .Minor }}"
- "exoscale/cert-manager-webhook-exoscale:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- --pull
- --build-arg="VERSION={{.Version}}"
- --build-arg="VCS_REF={{.ShortCommit}}"
- --build-arg="BUILD_DATE={{.Date}}"
signs:
- cmd: gpg
args: ["--default-key", "7100E8BFD6199CE0374CB7F003686F8CDE378D41", "--detach-sign", "${artifact}"]
artifacts: all
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-snapshot"
release:
github:
owner: exoscale
name: cert-manager-webhook-exoscale