From 4925adbe6b47a262f31776e01a5d3f939d8fa59e Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Mon, 13 Jan 2020 17:56:26 +0000 Subject: [PATCH] Update .goreleaser.yml (#549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Co-authored-by: Roberto Rojas --- .goreleaser.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1e89fe7..010a9e5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,17 +13,19 @@ builds: - "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion={{.Version}}" - "-X github.com/aquasecurity/kube-bench/cmd.cfgDir={{.Env.KUBEBENCH_CFG}}" # Archive customization -archive: - format: tar.gz - files: - - "cfg/**/*" -nfpm: - vendor: Aqua Security - 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 - homepage: https://github.com/aquasecurity/kube-bench - files: - "cfg/**/*": "/etc/kube-bench/cfg" - formats: - - deb - - rpm +archives: + - id: default + format: tar.gz + files: + - "cfg/**/*" +nfpms: + - + vendor: Aqua Security + 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 + homepage: https://github.com/aquasecurity/kube-bench + files: + "cfg/**/*": "/etc/kube-bench/cfg" + formats: + - deb + - rpm