1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00
kyverno/.goreleaser.yml

43 lines
729 B
YAML
Raw Normal View History

2020-04-29 09:57:49 -07:00
project_name: kyverno
2020-05-15 07:21:35 -07:00
before:
hooks:
- go mod download
2020-04-29 09:57:49 -07:00
builds:
2020-05-15 07:21:35 -07:00
- id: kyverno
main: cmd/cli/kubectl-kyverno/main.go
binary: kyverno
env:
- CGO_ENABLED=0
goos:
2020-04-29 09:57:49 -07:00
- linux
- darwin
2020-05-15 07:21:35 -07:00
- windows
goarch:
2020-04-29 09:57:49 -07:00
- amd64
2020-05-15 07:21:35 -07:00
- arm
- arm64
goarm: [6, 7]
2020-04-29 09:57:49 -07:00
archives:
2020-05-15 07:21:35 -07:00
- id: kyverno-archive
name_template: |-
kyverno_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
2020-04-29 10:40:16 -07:00
- kyverno
2020-05-15 07:21:35 -07:00
replacements:
386: i386
amd64: x86_64
format_overrides:
2020-04-29 09:57:49 -07:00
- goos: windows
2020-04-29 10:50:50 -07:00
format: zip
2020-05-15 07:21:35 -07:00
files: ["LICENSE"]
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
2020-05-28 12:23:12 -07:00
prerelease: auto