Skip to content

Commit

Permalink
add arm builds o goreleaser config (fixes #244) (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
rekup authored Jan 9, 2023
1 parent e553e6d commit 9e89b2f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ builds:

- id: linux
goos: [linux]
goarch: [amd64]
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
# Make sure that cgo is disabled. See: https://golang.org/cmd/cgo/
env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -60,7 +66,7 @@ archives:
- id: nix
builds: [macos, linux]
# Generate the compresed files based on the following templates
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}"
# All files will be in a single directory. For example: gatekeeper_0.0.1_linux_amd64
wrap_in_directory: true
# Replacement for the Platform name. Instead of have -darwin, replace by macOS
Expand Down

0 comments on commit 9e89b2f

Please sign in to comment.