forked from minio/kes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
77 lines (67 loc) · 1.23 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
67
68
69
70
71
72
73
74
75
76
77
project_name: kes
release:
name_template: "Version {{.Version}}"
github:
owner: minio
name: kes
before:
hooks:
- go mod tidy
builds:
-
main: ./cmd/kes
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
ignore:
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- "-s -w -X main.version={{.Version}}"
archives:
-
name_template: "{{ .Os }}-{{ .Arch }}"
format: zip
replacements:
arm: arm
files:
- README.md
- LICENSE
checksum:
name_template: checksums.txt
algorithm: sha256
signs:
-
signature: "${artifact}.minisig"
cmd: "sh"
args:
- '-c'
- 'minisign -s /media/${USER}/minio/minisign.key -Sm ${artifact} < /media/${USER}/minio/minisign-passphrase'
artifacts: all
snapshot:
name_template: v0.0.0@{{.ShortCommit}}
changelog:
sort: asc
dockers:
-
goos: linux
goarch: amd64
dockerfile: Dockerfile.release
image_templates:
- minio/kes:{{ .Tag }}
- minio/kes:latest