-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
49 lines (49 loc) · 1.19 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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
binary: s3-webhook-dumper
ldflags:
- -s -w
goos:
- darwin
- linux
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
dockers:
- dockerfile: Dockerfile
use: buildx
build_flag_templates:
- "--platform=linux/amd64"
- "--pull"
image_templates:
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-amd64"
goos: linux
goarch: amd64
ids:
- s3-webhook-dumper
- dockerfile: Dockerfile
use: buildx
build_flag_templates:
- "--platform=linux/arm64"
- "--pull"
image_templates:
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-arm64"
goos: linux
goarch: arm64
ids:
- s3-webhook-dumper
docker_manifests:
- name_template: quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}
image_templates:
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-amd64"
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-arm64"
- name_template: quay.io/zebbra/s3-webhook-dumper:latest
image_templates:
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-amd64"
- "quay.io/zebbra/s3-webhook-dumper:{{ .Tag }}-arm64"