-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
40 lines (38 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
39
40
builds:
- env:
- CGO_ENABLED=0
- BUILDKIT_PROGRESS=plain
targets:
- linux_amd64
- darwin_amd64
- linux_arm_7
main: ./cmd/server
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
dockers:
- image_templates:
- "hmoragrega/fastlane:{{ .Version }}-linux-amd64"
use: buildx
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "hmoragrega/fastlane:{{ .Version }}-linux-arm-v7"
use: buildx
goarch: arm
goarm: 7
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm/v7"
docker_manifests:
- name_template: hmoragrega/fastlane:latest
image_templates:
- hmoragrega/fastlane:{{ .Version }}-linux-amd64
- hmoragrega/fastlane:{{ .Version }}-linux-arm-v7
- name_template: hmoragrega/fastlane:{{ .Version }}
image_templates:
- hmoragrega/fastlane:{{ .Version }}-linux-amd64
- hmoragrega/fastlane:{{ .Version }}-linux-arm-v7