-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yml
58 lines (52 loc) · 1.23 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
builds:
- binary: j8a
main: cmd/j8a/main.go
goos:
- darwin
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
release:
prerelease: auto
universal_binaries:
- replace: true
brews:
- name: j8a
homepage: "https://github.com/simonmittag/j8a"
tap:
owner: simonmittag
name: homebrew-cli
commit_author:
name: simonmittag
email: [email protected]
dockers:
- goarch: amd64
goos: linux
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-amd64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- goarch: arm64
goos: linux
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-arm64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
docker_manifests:
- name_template: 'docker.io/simonmittag/j8a:{{.Tag}}'
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-amd64'
- 'docker.io/simonmittag/j8a:{{.Tag}}-arm64'
- name_template: 'docker.io/simonmittag/j8a:latest'
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-amd64'
- 'docker.io/simonmittag/j8a:{{.Tag}}-arm64'
checksum:
name_template: 'checksums.txt'