-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
49 lines (45 loc) · 1015 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
45
46
47
48
49
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: hlf-channel-manager
release:
name_template: "Version {{.Version}}"
github:
owner: kfsoftware
name: hlf-channel-manager
extra_files:
- glob: "*.minisig"
- glob: "*.zip"
before:
hooks:
- go mod tidy
- go mod download
builds:
-
goos:
- linux
- darwin
- windows
- freebsd
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Tag}}
flags:
- -trimpath
dockers:
-
# GOOS of the built binary that should be used.
goos: linux
# GOARCH of the built binary that should be used.
goarch: amd64
dockerfile: Dockerfile
image_templates:
- "ghcr.io/kfsoftware/hlf-channel-manager:{{ .Tag }}"
- "ghcr.io/kfsoftware/hlf-channel-manager:latest"
extra_files:
- LICENSE
- README.md
- CREDITS