-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
61 lines (52 loc) · 1.25 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
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0 # this is needed otherwise the Docker image build is faulty
goarch:
- amd64
- arm
- arm64
- 386
goos:
- linux
- darwin
goarm:
- 7
archives:
- format: binary
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-snapshot"
signs:
- artifacts: checksum
args: ["-u", "51C334321C8CE7A36688DEB45A2CE60942C3A798", "--output", "${signature}", "--detach-sign", "${artifact}"]
dockers:
- image_templates:
- "docker.io/appuio/seiso:v{{ .Version }}"
- "docker.io/appuio/seiso:v{{ .Major }}"
- "quay.io/appuio/seiso:v{{ .Version }}"
- "quay.io/appuio/seiso:v{{ .Major }}"
nfpms:
- vendor: APPUiO
homepage: https://github.com/appuio/seiso
maintainer: VSHN AG
description: Seiso. Clean up your Docker image registry and Kubernetes resources.
license: BSD 3-Clause
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
formats:
- deb
- rpm
changelog:
sort: asc
filters:
exclude:
- '^Docs:'
- '^Test:'
- '^Refactor:'
- '^Merge pull request'
release:
github:
owner: appuio
name: seiso