-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
66 lines (60 loc) · 1.52 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
---
project_name: fireactions
builds:
- id: fireactions
main: ./cmd/fireactions
env:
- CGO_ENABLED=0
binary: fireactions
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -X github.com/hostinger/fireactions.Version={{ .Version }}
- -X github.com/hostinger/fireactions.Commit={{ .ShortCommit }}
- -X github.com/hostinger/fireactions.Date={{ .CommitDate }}
archives:
- id: fireactions
builds:
- fireactions
name_template: fireactions-v{{ .Version }}-{{ .Os }}-{{ .Arch }}
format: tar.gz
dockers:
- id: fireactions-amd64
use: buildx
dockerfile: Dockerfile
image_templates:
- ghcr.io/hostinger/fireactions:{{ .Version }}-amd64
extra_files:
- "./"
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
goarch: amd64
- id: fireactions-arm64
use: buildx
dockerfile: Dockerfile
image_templates:
- ghcr.io/hostinger/fireactions:{{ .Version }}-arm64
extra_files:
- "./"
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
goarch: arm64
docker_manifests:
- name_template: ghcr.io/hostinger/fireactions:{{ .Version }}
image_templates:
- ghcr.io/hostinger/fireactions:{{ .Version }}-amd64
- ghcr.io/hostinger/fireactions:{{ .Version }}-arm64
- name_template: ghcr.io/hostinger/fireactions:latest
image_templates:
- ghcr.io/hostinger/fireactions:{{ .Version }}-amd64
- ghcr.io/hostinger/fireactions:{{ .Version }}-arm64
# Changelog is managed by release-please
changelog:
disable: true
checksum:
name_template: fireactions-v{{ .Version }}-checksums.txt