-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.goreleaser.yml
48 lines (44 loc) · 1.22 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
builds:
- id: sfptpd-exporter
binary: sfptpd-exporter
goos:
- linux
goarch:
- amd64
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
nfpms:
- id: sfptpd-exporter
package_name: sfptpd-exporter
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Nate Sales
homepage: https://github.com/natesales/sfptpd-exporter
maintainer: Nate Sales <nate@natesales.net>
description: Prometheus exporter for sfptpd
license: MIT
section: default
priority: extra
formats:
- deb
- rpm
publishers:
- name: fury.io
ids:
- sfptpd-exporter
dir: "{{ dir .ArtifactPath }}"
cmd: curl -s -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/natesales/
dockers:
- ids: [ "sfptpd-exporter" ]
image_templates:
- "ghcr.io/natesales/sfptpd-exporter:latest"
- "ghcr.io/natesales/sfptpd-exporter:{{ .Version }}"
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT