-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.yml
84 lines (73 loc) · 2.47 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
project_name: kustomize-sopssecretgenerator
env:
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
env_files:
github_token: .github_token
gomod:
proxy: true
before:
hooks:
- go mod tidy
builds:
- binary: SopsSecretGenerator
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
archives:
- format: binary
changelog:
filters:
exclude:
- '^Release version'
- '^Merge pull request'
checksum:
name_template: "checksums.txt"
release:
github:
owner: goabout
name: kustomize-sopssecretgenerator
name_template: "Version {{.Version}}"
dockers:
- goos: linux
goarch: amd64
dockerfile: .goreleaser.Dockerfile
image_templates:
- "goabout/kustomize-sopssecretgenerator:latest-amd64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}-amd64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}-amd64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64"
- goos: linux
goarch: arm64
dockerfile: .goreleaser.Dockerfile
image_templates:
- "goabout/kustomize-sopssecretgenerator:latest-arm64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}-arm64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}-arm64"
- "goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64"
docker_manifests:
- name_template: goabout/kustomize-sopssecretgenerator:latest
image_templates:
- goabout/kustomize-sopssecretgenerator:latest-amd64
- goabout/kustomize-sopssecretgenerator:latest-arm64
- name_template: goabout/kustomize-sopssecretgenerator:v{{ .Major }}
image_templates:
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}-amd64
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}-arm64
- name_template: goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}
image_templates:
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}-amd64
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}-arm64
- name_template: goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}
image_templates:
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64
- goabout/kustomize-sopssecretgenerator:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64