forked from estahn/k8s-image-swapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
38 lines (34 loc) · 1.01 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
builds:
- env:
- CGO_ENABLED=0
goos:
#- windows
- darwin
- linux
goarch:
- amd64
dockers:
- image_templates:
- "ghcr.io/estahn/k8s-image-swapper:latest"
- "ghcr.io/estahn/k8s-image-swapper:{{ .Version }}"
- "ghcr.io/estahn/k8s-image-swapper:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "ghcr.io/estahn/k8s-image-swapper:{{ .Major }}.{{ .Minor }}"
- "ghcr.io/estahn/k8s-image-swapper:{{ .Major }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--build-arg=VERSION={{.Version}}"
- "--build-arg=BUILD_DATE={{.Date}}"
- "--build-arg=VCS_REF={{.FullCommit}}"
release:
prerelease: auto
changelog:
filters:
exclude:
- '^docs:'
- '^chore:'
archives:
- format: binary