Skip to content

Commit

Permalink
.goreleaser.yml: Provide arm/arm64 builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Sep 2, 2020
1 parent 21d824e commit 6e1b124
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6e1b124

Please sign in to comment.