-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yml
45 lines (43 loc) · 1.08 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
project_name: demo-rest
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
dockers:
- image_templates:
- "ghcr.io/cerbos/demo-rest:{{ .Version }}-amd64"
- "ghcr.io/cerbos/demo-rest:latest-amd64"
goarch: amd64
use: buildx
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "ghcr.io/cerbos/demo-rest:{{ .Version }}-arm64"
- "ghcr.io/cerbos/demo-rest:latest-arm64"
goarch: arm64
use: buildx
build_flag_templates:
- "--platform=linux/arm64"
docker_manifests:
- name_template: "ghcr.io/cerbos/demo-rest:{{ .Version }}"
image_templates:
- "ghcr.io/cerbos/demo-rest:{{ .Version }}-amd64"
- "ghcr.io/cerbos/demo-rest:{{ .Version }}-arm64"
- name_template: "ghcr.io/cerbos/demo-rest:latest"
image_templates:
- "ghcr.io/cerbos/demo-rest:latest-amd64"
- "ghcr.io/cerbos/demo-rest:latest-arm64"
checksum:
disable: true
changelog:
skip: true