-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy path.goreleaser.yml
57 lines (57 loc) · 1.27 KB
/
.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
52
53
54
55
56
57
---
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
main: main.go
binary: kubenurse
id: kubenurse
docker_manifests:
- name_template: postfinance/kubenurse:{{ .Tag }}
image_templates:
- postfinance/kubenurse:{{ .Tag }}-amd64
- postfinance/kubenurse:{{ .Tag }}-arm64v8
- name_template: postfinance/kubenurse:latest
image_templates:
- postfinance/kubenurse:latest-amd64
- postfinance/kubenurse:latest-arm64v8
dockers:
- goos: linux
goarch: amd64
ids:
- kubenurse
image_templates:
- "postfinance/kubenurse:latest-amd64"
- "postfinance/kubenurse:{{ .Tag }}-amd64"
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- goos: linux
goarch: arm64
ids:
- kubenurse
image_templates:
- "postfinance/kubenurse:latest-arm64v8"
- "postfinance/kubenurse:{{ .Tag }}-arm64v8"
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64/v8"
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'