-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
64 lines (59 loc) · 1.46 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
62
63
64
project_name: custom-metrics-circonus-adapter
before:
hooks:
- go mod tidy
- golangci-lint run
builds:
-
id: adapter
main: adapter.go
binary: sbin/adapter
env:
- CGO_ENABLED=0
- GODEBUG=netdns=go
flags:
- -mod=vendor
goos:
- linux
goarch:
- amd64
ignore:
-
goarch: 386
ldflags:
- -w
- -extldflags "-static"
dockers:
-
goos: linux
goarch: amd64
goarm: ''
ids: ['adapter']
image_templates:
- "circonus/{{.ProjectName}}:{{.Tag}}"
- "circonus/{{.ProjectName}}: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}}"
archives:
-
id: default
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
format: tar.gz
replacements:
amd64: x86_64
files:
- LICENSE
- README.md
- CHANGELOG.md
release:
github:
owner: circonus-labs
name: custom-metrics-circonus-adapter
draft: false
prerelease: auto
checksum:
name_template: "{{.ProjectName}}_checksums.txt"