-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
61 lines (53 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
version: 2
project_name: pauditd
builds:
- binary: pauditd
env:
- CGO_ENABLED=1
ldflags:
- -s -w
goos:
- linux
goarch:
- amd64
archives:
- id: tarball
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
nfpms:
-
formats:
- rpm
vendor: "Pantheon Systems"
homepage: "https://github.com/pantheon-systems/pauditd"
maintainer: engineering <engineering@pantheon.io>
description: "go alternative to auditd"
license: MIT
bindir: /usr/local/bin
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Timestamp }}-{{ .Arch }}"
## build and push
dockers:
-
dockerfile: Dockerfile
ids:
- pauditd
goos: linux
goarch: amd64
image_templates:
- "quay.io/getpantheon/pauditd:{{ .Tag }}" # v1.0.0
- "quay.io/getpantheon/pauditd:v{{ .Major }}" # v1
- "quay.io/getpantheon/pauditd:v{{ .Major }}.{{ .Minor }}" # v1.0
- "quay.io/getpantheon/pauditd:latest"