-
Notifications
You must be signed in to change notification settings - Fork 17
/
.goreleaser.yml
75 lines (73 loc) · 1.71 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
65
66
67
68
69
70
71
72
73
74
75
project_name: kr8
before:
hooks:
- go mod download
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
archives:
-
format: tar.gz
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
- scripts/*
nfpms:
-
vendor: Apptio TechOps
homepage: "https://github.com/apptio/kr8"
maintainer: Lee Briggs <lbriggs@apptio.com>
description: "Opinionated configuration management tool for Kubernetes Cluster"
license: MIT
formats:
- rpm
- deb
bindir: /usr/local/bin
files:
"scripts/kr8-helpers": "/usr/local/bin/kr8-helpers"
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
dist: dist
dockers:
-
image_templates:
- 'apptio/kr8:{{ .Tag }}'
- '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}}"
brews:
-
github:
owner: apptio
name: homebrew-tap
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