-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
44 lines (44 loc) · 931 Bytes
/
.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
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- main: ./cmd/faktory
binary: faktory
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- image_templates:
- quay.io/fossa/faktory:{{ .Tag }}-amd64
use: buildx
build_flag_templates:
- '--pull'
- '--platform=linux/amd64'
- image_templates:
- quay.io/fossa/faktory:{{ .Tag }}-arm64
use: buildx
build_flag_templates:
- '--pull'
- '--platform=linux/arm64'
goarch: arm64
docker_manifests:
- name_template: quay.io/fossa/faktory:{{ .Tag }}
image_templates:
- quay.io/fossa/faktory:{{ .Tag }}-amd64
- quay.io/fossa/faktory:{{ .Tag }}-arm64