-
Notifications
You must be signed in to change notification settings - Fork 109
/
.goreleaser.yml
61 lines (55 loc) · 1.43 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
# .goreleaser.yml
# Build customization
project_name: kube-cleanup-operator
builds:
- id: build
binary: kube-cleanup-operator
main: ./cmd/main.go
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
release:
github:
owner: lwolf
name: kube-cleanup-operator
prerelease: true
dockers:
- id: release-amd64
dockerfile: Dockerfile.releaser
use: buildx
goos: linux
goarch: amd64
ids:
- build
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
image_templates:
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-amd64"
- id: release-arm64
dockerfile: Dockerfile.releaser
use: buildx
goos: linux
goarch: arm64
ids:
- build
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
image_templates:
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-arm64"
docker_manifests:
- id: manifest-release
name_template: "quay.io/lwolf/kube-cleanup-operator:{{ .Version }}"
image_templates:
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-amd64"
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-arm64"
- id: manifest-latest
name_template: "quay.io/lwolf/kube-cleanup-operator:latest"
image_templates:
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-amd64"
- "quay.io/lwolf/kube-cleanup-operator:v{{ .Version }}-arm64"