-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
48 lines (48 loc) · 1.18 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
project_name: kube-ingress-index
before:
hooks:
- go mod download
dockers:
- goos: linux
goarch: amd64
image_templates:
- "docker.artifactory.banno-tools.com/{{.ProjectName}}:{{.Tag}}"
- "docker.artifactory.banno-tools.com/{{.ProjectName}}:{{.Major}}"
- "docker.artifactory.banno-tools.com/{{.ProjectName}}:{{.Major}}.{{.Minor}}"
- "docker.artifactory.banno-tools.com/{{.ProjectName}}:latest"
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.vendor=Jack Henry & Associates"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
- "--label=org.label-schema.vcs-url={{.GitURL}}"
release:
github:
owner: Banno
name: kube-ingress-index
prerelease: auto
builds:
- goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- GO111MODULE=on
flags:
- -a
ldflags:
- -s
- -w
checksum:
name_template: checksums.txt
snapshot:
name_template: "{{.Tag}}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
env_files:
github_token: .github_token