-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
47 lines (47 loc) · 887 Bytes
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
builds:
- flags: -a -tags netgo
ldflags:
- -s -w
- -X github.com/kobtea/gorgo/cmd.Version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^cut:'
- '^typo'
dockers:
- image_templates:
- ghcr.io/kobtea/gorgo:latest
- ghcr.io/kobtea/gorgo:v{{.Version}}
use: buildx
build_flag_templates:
- --platform=linux/amd64
- image_templates:
- ghcr.io/kobtea/gorgo:latest
- ghcr.io/kobtea/gorgo:v{{.Version}}
use: buildx
build_flag_templates:
- --platform=linux/arm64