1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-22 16:18:07 +00:00

Update .goreleaser.yml (#549)

goreleaser updated and got some functions deprecated.
• ARCHIVES
      • DEPRECATED: `archive` should not be used anymore, check https://goreleaser.com/deprecations#archive for more info.
• LINUX PACKAGES WITH NFPM
      • DEPRECATED: `nfpm` should not be used anymore, check https://goreleaser.com/deprecations#nfpm for more info.

Co-authored-by: Liz Rice <liz@lizrice.com>
Co-authored-by: Roberto Rojas <robertojrojas@gmail.com>
This commit is contained in:
yoavrotems 2020-01-13 17:56:26 +00:00 committed by Roberto Rojas
parent efcd63aa38
commit 4925adbe6b

View File

@ -13,17 +13,19 @@ builds:
- "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion={{.Version}}" - "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion={{.Version}}"
- "-X github.com/aquasecurity/kube-bench/cmd.cfgDir={{.Env.KUBEBENCH_CFG}}" - "-X github.com/aquasecurity/kube-bench/cmd.cfgDir={{.Env.KUBEBENCH_CFG}}"
# Archive customization # Archive customization
archive: archives:
format: tar.gz - id: default
files: format: tar.gz
- "cfg/**/*" files:
nfpm: - "cfg/**/*"
vendor: Aqua Security nfpms:
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices" -
license: Apache-2.0 vendor: Aqua Security
homepage: https://github.com/aquasecurity/kube-bench description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
files: license: Apache-2.0
"cfg/**/*": "/etc/kube-bench/cfg" homepage: https://github.com/aquasecurity/kube-bench
formats: files:
- deb "cfg/**/*": "/etc/kube-bench/cfg"
- rpm formats:
- deb
- rpm