forked from mirrors/linux-bench
Update .goreleaser.yml
This commit is contained in:
parent
4e5eb1107b
commit
8d08047b26
1 changed files with 19 additions and 11 deletions
|
@ -1,20 +1,28 @@
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
- LINUXBENCH_CFG=/etc/linux-bench/cfg
|
||||||
builds:
|
builds:
|
||||||
- main: main.go
|
- main: .
|
||||||
binary: linux-bench
|
binary: linux-bench
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
|
ldflags:
|
||||||
|
- "-X github.com/aquasecurity/linux-bench/root.cfgDir={{.Env.LINUXBENCH_CFG}}"
|
||||||
# Archive customization
|
# Archive customization
|
||||||
archive:
|
archives:
|
||||||
|
- id: compress
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
nfpm:
|
files:
|
||||||
vendor: Aqua Security
|
- "cfg/**/*"
|
||||||
description: "The Linux Bench for Security is a Go application that checks whether Linux host is deployed according to security best practices"
|
nfpms:
|
||||||
|
- vendor: Aqua Security
|
||||||
|
description: "Linux-bench checks whether a Linux server according to security best practices as defined in the CIS Distribution-Independent Linux Benchmark"
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
homepage: https://github.com/aquasecurity/linux-bench
|
homepage: https://github.com/aquasecurity/linux-bench
|
||||||
|
files:
|
||||||
|
"cfg/**/*": "/etc/linux-bench/cfg"
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
Loading…
Add table
Reference in a new issue