mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 22:25:33 +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
|
- linux
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
|
- arm
|
||||||
|
- arm64
|
||||||
|
goarm:
|
||||||
|
- 6
|
||||||
|
- 7
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-X github.com/aquasecurity/linux-bench/root.cfgDir={{.Env.LINUXBENCH_CFG}}"
|
- "-X github.com/aquasecurity/linux-bench/root.cfgDir={{.Env.LINUXBENCH_CFG}}"
|
||||||
# Archive customization
|
# Archive customization
|
||||||
archives:
|
archives:
|
||||||
- id: compress
|
- id: compress
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
|
||||||
files:
|
files:
|
||||||
- "cfg/**/*"
|
- "cfg/**/*"
|
||||||
nfpms:
|
nfpms:
|
||||||
|
|
Loading…
Add table
Reference in a new issue