-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
67 lines (65 loc) · 1.72 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
env:
- GO111MODULE=on
- CGO_ENABLED=0
builds:
- id: windows
goos:
- windows
goarch:
- 386
- amd64
- id: linux
goos:
- linux
goarch:
- 386
- amd64
- arm
- arm64
archives:
- files:
- README.md
- LICENSE
- config.yaml.example
dockers:
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-amd64"
- "gaetancollaud/digitalstrom-mqtt:latest-amd64"
use: buildx
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/amd64"
extra_files:
- config.yaml.example
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm"
- "gaetancollaud/digitalstrom-mqtt:latest-arm"
use: buildx
goarch: arm
goarm: 6
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm/v6"
extra_files:
- config.yaml.example
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm64v8"
- "gaetancollaud/digitalstrom-mqtt:latest-arm64v8"
use: buildx
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm64/v8"
extra_files:
- config.yaml.example
docker_manifests:
- name_template: gaetancollaud/digitalstrom-mqtt:{{ .Version }}
image_templates:
- gaetancollaud/digitalstrom-mqtt:{{ .Version }}-amd64
- gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm
- gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm64v8
- name_template: gaetancollaud/digitalstrom-mqtt:latest
image_templates:
- gaetancollaud/digitalstrom-mqtt:latest-amd64
- gaetancollaud/digitalstrom-mqtt:latest-arm
- gaetancollaud/digitalstrom-mqtt:latest-arm64v8