-
Notifications
You must be signed in to change notification settings - Fork 17
/
.goreleaser.yml
46 lines (41 loc) · 1.09 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
project_name: opensips_exporter
builds:
- id: opensips_exporter
goos:
- linux
goarch:
- amd64
- arm64
- 386
checksum:
name_template: "{{ .ProjectName }}_sha256sums.txt"
algorithm: sha256
dockers:
- goos: linux
goarch: amd64
binaries:
- opensips_exporter
image_templates:
- "voipgrid/opensips_exporter:{{ .Version }}"
- "voipgrid/opensips_exporter:latest"
skip_push: false
dockerfile: Dockerfile
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
nfpms:
- file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
bindir: /usr/bin
vendor: VoIPGRID
homepage: https://www.voipgrid.nl
maintainer: VoIPGRID <[email protected]>
license: Apache 2.0
description: Simple server that scrapes OpenSIPS stats and exports them via HTTP for Prometheus consumption
formats:
- deb
release:
github:
owner: voipgrid
name: opensips_exporter
prerelease: auto