Skip to content

Commit

Permalink
Merge pull request #58 from mrueg/add-arm
Browse files Browse the repository at this point in the history
.goreleaser.yml: Provide arm/arm64 builds too
  • Loading branch information
yoavrotems authored Nov 22, 2020
2 parents f78a677 + 6e1b124 commit 400fb43
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 400fb43

Please sign in to comment.