-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.goreleaser.yml
44 lines (44 loc) · 1.06 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -w
- -X github.com/Ladicle/kubectl-rolesum/cmd.version={{.Version}}
- -X github.com/Ladicle/kubectl-rolesum/cmd.commit={{.ShortCommit}}
- -X github.com/Ladicle/kubectl-rolesum/cmd.command=kubectl-rolesum
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- builds:
- kubectl-rolesum
name_template: "{{ .ProjectName }}_{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- LICENSE
wrap_in_directory: true
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
brews:
- name: kubectl-rolesum
tap:
owner: Ladicle
name: homebrew-kubectl-bindrole
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
description: "Summarize k8s RBAC resources to specified SA, Group and User!"
homepage: "https://github.com/Ladicle/kubectl-rolesum"
dockers:
- image_templates:
- "ladicle/kubectl-rolesum:{{ .Tag }}"
- "ladicle/kubectl-rolesum:v{{ .Major }}"
- "ladicle/kubectl-rolesum:v{{ .Major }}.{{ .Minor }}"
- "ladicle/kubectl-rolesum:latest"