1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-18 20:58:10 +00:00

Update goreleaser (#929)

* Fix Junit missing testsuites 

Fix issue https://github.com/aquasecurity/kube-bench/issues/883 but also bug with overriding output when --outputfile is effective and only write the last controls

* Deprecated files command

* Update .goreleaser.yml

Remove deprecated files, and fix https://github.com/aquasecurity/kube-bench/issues/925
This commit is contained in:
Yoav Rotem 2021-07-14 15:50:12 +03:00 committed by GitHub
parent cb7ee765a3
commit f74149d4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
--- ---
project_name: kube-bench
env: env:
- GO111MODULE=on - GO111MODULE=on
- KUBEBENCH_CFG=/etc/kube-bench/cfg - KUBEBENCH_CFG=/etc/kube-bench/cfg
@ -28,13 +29,23 @@ archives:
nfpms: nfpms:
- -
vendor: Aqua Security vendor: Aqua Security
maintainer: Yoav Rotem <yoav.rotem@aquasec.com>
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices" description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
maintainer: Yoav Rotem <yoav.rotem@aquasec.com>
license: Apache-2.0 license: Apache-2.0
homepage: https://github.com/aquasecurity/kube-bench homepage: https://github.com/aquasecurity/kube-bench
files: file_name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
"cfg/**/*": "/etc/kube-bench/cfg" contents:
"cfg/config.yaml": "/etc/kube-bench/cfg" - src: "cfg/**/*"
dst: "/etc/kube-bench/cfg"
- src: "cfg/config.yaml"
dst: "/etc/kube-bench/cfg/config.yaml"
formats: formats:
- deb - deb
- rpm - rpm
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
- '^release'