-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.goreleaser.yml
More file actions
56 lines (55 loc) · 1.15 KB
/
.goreleaser.yml
File metadata and controls
56 lines (55 loc) · 1.15 KB
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
version: 2
project_name: dnsbl_exporter
before:
hooks:
- go mod tidy
- go mod verify
- helm package chart/
builds:
- id: dnsbl_exporter
main: ./dnsbl_exporter.go
binary: dnsbl-exporter
ldflags: -s -w -X main.exporterVersion={{.Version}}
goos:
- darwin
- freebsd
- linux
- windows
env:
- CGO_ENABLED=0
dockers_v2:
- id: docker
dockerfile: .docker/dnsbl-exporter/Dockerfile
ids: [dnsbl_exporter]
images:
- ghcr.io/luzilla/{{.ProjectName}}
tags:
- "{{.Tag}}"
labels:
"org.opencontainers.image.created": "{{.Date}}"
"org.opencontainers.image.name": "{{.ProjectName}}"
"org.opencontainers.image.revision": "{{.FullCommit}}"
"org.opencontainers.image.version": "{{.Version}}"
"org.opencontainers.image.source": "{{.GitURL}}"
extra_files:
- rbls.ini
- targets.ini
platforms:
- linux/amd64
- linux/arm64
archives:
- files:
- none*
release:
extra_files:
- glob: ./dnsbl-exporter-*.tgz
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'