.goreleaser: Create binaries for arm/arm64 (#628)

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
pull/633/head
Manuel Rüger 4 years ago committed by GitHub
parent c7b518e76b
commit 5cf3821eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,6 +9,11 @@ builds:
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ldflags:
- "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion={{.Version}}"
- "-X github.com/aquasecurity/kube-bench/cmd.cfgDir={{.Env.KUBEBENCH_CFG}}"
@ -16,6 +21,7 @@ builds:
archives:
- id: default
format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
files:
- "cfg/**/*"
nfpms:

Loading…
Cancel
Save