mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 14:15:32 +01:00
.goreleaser.yml: Provide arm/arm64 builds too
This commit is contained in:
parent
21d824ec54
commit
6e1b124a49
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue