-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yaml
75 lines (67 loc) · 1.29 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
project_name: acor
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod download
builds:
- id: acor
binary: acor
main: cmd/acor/main.go
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 6
archives:
- id: acor
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md
- CODE_OF_CONDUCT.md
changelog:
skip: true
checksum:
algorithm: sha256
name_template: 'CHECKSUMS'
dockers:
- ids:
- acor
dockerfile: Dockerfile.goreleaser
use_buildx: true
image_templates:
- "ghcr.io/skyoo2003/acor:{{ .Tag }}-alpine"
- "ghcr.io/skyoo2003/acor:v{{ .Major }}.{{ .Minor }}-alpine"
- "ghcr.io/skyoo2003/acor:v{{ .Major }}-alpine"
- "ghcr.io/skyoo2003/acor:latest-alpine"
build_flag_templates:
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.version={{ .Version }}"
skip_push: false
release:
github:
owner: skyoo2003
name: acor
name_template: "v{{ .Version }}"
disable: false