2023-06-09 16:05:45 +00:00
|
|
|
project_name: kyverno-cli
|
|
|
|
|
2020-05-15 14:21:35 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
2023-06-09 16:05:45 +00:00
|
|
|
|
2020-04-29 16:57:49 +00:00
|
|
|
builds:
|
2020-06-04 18:45:37 +00:00
|
|
|
- id: kyverno-cli
|
2020-05-15 14:21:35 +00:00
|
|
|
main: cmd/cli/kubectl-kyverno/main.go
|
2020-06-04 23:43:05 +00:00
|
|
|
binary: kyverno
|
2020-05-15 14:21:35 +00:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2020-07-14 20:46:03 +00:00
|
|
|
ldflags:
|
2023-06-30 23:27:06 +00:00
|
|
|
- -s -w -X github.com/kyverno/kyverno/pkg/version.BuildVersion={{.Version}}
|
2020-05-15 14:21:35 +00:00
|
|
|
goos:
|
2020-04-29 16:57:49 +00:00
|
|
|
- linux
|
|
|
|
- darwin
|
2020-05-15 14:21:35 +00:00
|
|
|
- windows
|
|
|
|
goarch:
|
2020-04-29 16:57:49 +00:00
|
|
|
- amd64
|
2022-01-15 23:39:52 +00:00
|
|
|
- arm64
|
2022-02-22 15:40:46 +00:00
|
|
|
- s390x
|
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: s390x
|
|
|
|
- goos: windows
|
|
|
|
goarch: s390x
|
2023-06-09 16:05:45 +00:00
|
|
|
|
|
|
|
signs:
|
|
|
|
- cmd: cosign
|
|
|
|
env:
|
|
|
|
- COSIGN_EXPERIMENTAL=1
|
|
|
|
certificate: '${artifact}.pem'
|
|
|
|
args:
|
|
|
|
- sign-blob
|
|
|
|
- --output-certificate=${certificate}
|
|
|
|
- --output-signature=${signature}
|
|
|
|
- ${artifact}
|
2023-06-29 16:37:45 +00:00
|
|
|
- --yes
|
2023-06-09 16:05:45 +00:00
|
|
|
artifacts: all
|
|
|
|
output: true
|
|
|
|
|
2020-04-29 16:57:49 +00:00
|
|
|
archives:
|
2020-06-04 18:45:37 +00:00
|
|
|
- id: kyverno-cli-archive
|
2020-05-15 14:21:35 +00:00
|
|
|
name_template: |-
|
2020-06-04 18:45:37 +00:00
|
|
|
kyverno-cli_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
|
2020-05-15 14:21:35 +00:00
|
|
|
{{- with .Arm -}}
|
|
|
|
{{- if (eq . "6") -}}hf
|
|
|
|
{{- else -}}v{{- . -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
builds:
|
2020-06-04 18:45:37 +00:00
|
|
|
- kyverno-cli
|
2020-05-15 14:21:35 +00:00
|
|
|
format_overrides:
|
2020-04-29 16:57:49 +00:00
|
|
|
- goos: windows
|
2020-04-29 17:50:50 +00:00
|
|
|
format: zip
|
2020-07-08 16:05:55 +00:00
|
|
|
replacements:
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
2020-05-15 14:21:35 +00:00
|
|
|
files: ["LICENSE"]
|
2023-06-09 16:05:45 +00:00
|
|
|
|
2020-05-15 14:21:35 +00:00
|
|
|
checksum:
|
2023-06-09 16:05:45 +00:00
|
|
|
name_template: checksums.txt
|
|
|
|
|
|
|
|
source:
|
|
|
|
enabled: true
|
|
|
|
|
2020-05-15 14:21:35 +00:00
|
|
|
release:
|
2020-05-28 19:23:12 +00:00
|
|
|
prerelease: auto
|
2023-06-09 16:05:45 +00:00
|
|
|
|
2020-06-04 18:45:37 +00:00
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- typo
|
2021-08-10 16:07:46 +00:00
|
|
|
- '^test:'
|