forked from metalmatze/kube-cockroachdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
36 lines (36 loc) · 907 Bytes
/
.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
builds:
- main: ./operator
goos:
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
dockers:
- image_templates:
- "ghcr.io/metalmatze/kube-cockroachdb:{{ .Version }}-amd64"
use: buildx
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/amd64"
extra_files:
- operator/config.yaml
- operator/main.jsonnet
- kubernetes.libsonnet
- image_templates:
- "ghcr.io/metalmatze/kube-cockroachdb:{{ .Version }}-arm64"
use: buildx
goarch: arm64
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/arm64/v8"
extra_files:
- operator/config.yaml
- operator/main.jsonnet
- kubernetes.libsonnet
docker_manifests:
- name_template: ghcr.io/metalmatze/kube-cockroachdb:{{ .Version }}
image_templates:
- ghcr.io/metalmatze/kube-cockroachdb:{{ .Version }}-amd64
- ghcr.io/metalmatze/kube-cockroachdb:{{ .Version }}-arm64