-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
57 lines (57 loc) · 1.67 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
project_name: promi
release:
github:
owner: postfinance
name: promi
builds:
- id: promi
goos:
- linux
goarch:
- amd64
main: ./cmd/promi/
binary: promi
env:
- CGO_ENABLED=0
nfpms:
- file_name_template: '{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}'
package_name: promi
replacements:
"386": 32bit
amd64: x86_64
arm: ARM
arm64: ARM64
darwin: macOS
dragonfly: DragonFlyBSD
freebsd: FreeBSD
linux: Linux
netbsd: NetBSD
openbsd: OpenBSD
windows: Windows
formats:
- deb
- rpm
vendor: Die Schweizerische Post - PostFinance
homepage: https://github.com//postfinance/promcli
maintainer: Rene Zbinden <rene.zbinden@postfinance.ch>
description: 'CLI and Web UI to view targets and alerts of multiple prometheus servers.'
license: Die Schweizerische Post - PostFinance
bindir: /usr/bin
dockers:
- ids:
- promi
goos: linux
goarch: amd64
dockerfile: packaging/docker/Dockerfile
image_templates:
- 'postfinance/promi:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
- 'postfinance/promi:{{ .Major }}.{{ .Minor }}'
- 'postfinance/promi:{{ .Major }}'
- 'postfinance/promi:latest'
extra_files:
- packaging/docker/docker-entrypoint.sh
build_flag_templates:
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .ShortCommit }}
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.vendor=PostFinance AG