-
Notifications
You must be signed in to change notification settings - Fork 17
/
.goreleaser.yml
51 lines (49 loc) · 1.28 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
project_name: kr8
builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- darwin
goarch:
- amd64
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: kr8
dockers:
-
image_templates:
- 'ghcr.io/apptio/kr8:{{ .Tag }}'
- 'ghcr.io/apptio/kr8:latest'
dockerfile: Dockerfile-goreleaser
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
nfpms:
-
vendor: Apptio TechOps
homepage: "https://github.com/apptio/kr8"
description: "Opinionated configuration management tool for Kubernetes Cluster"
license: MIT
formats:
- rpm
- deb
bindir: /usr/local/bin
brews:
-
tap:
owner: jess-belliveau
name: tap-test
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: release
email: release@apptio.com
homepage: "https://kr8.rocks"
description: "Opinionated configuration management tool for Kubernetes Cluster"
install: |
bin.install "kr8"
bin.install "scripts/kr8-helpers"
dependencies:
- kubernetes-helm
- jsonnet
- go-task/tap/go-task