Merge pull request #58 from mrueg/add-arm

.goreleaser.yml: Provide arm/arm64 builds too
This commit is contained in:
Yoav Rotem 2020-11-22 15:44:54 +02:00 committed by GitHub
commit 400fb434ae
Failed to generate hash of commit

View file

@ -8,12 +8,18 @@ builds:
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ldflags:
- "-X github.com/aquasecurity/linux-bench/root.cfgDir={{.Env.LINUXBENCH_CFG}}"
# Archive customization
archives:
- id: compress
format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
files:
- "cfg/**/*"
nfpms: