Skip to content

Commit

Permalink
build(goreleaser): Support arm/arm64 binaries as part of release
Browse files Browse the repository at this point in the history
This commit is to provide arm/arm64 binary releases. Both goarm 6 and 7
are supports.

Naming will be something like eksctl_Linux_{arm,arm64,armv6,armv7}.tar.gz

Signed-off-by: Tam Mach <sayboras@yahoo.com>
  • Loading branch information
sayboras committed Oct 11, 2020
1 parent 5aaf24b commit 8ca1771
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ build/docker/
eksctl_*_*.snap

userdocs/src/usage/schema.json

# Goreleaser
dist/
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ builds:
- linux
goarch:
- amd64
- arm64
- arm
goarm:
- 6
- 7

archives:
- id: default
builds:
- default
name_template: "eksctl_{{ .Os }}_{{ .Arch }}"
name_template: "eksctl_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
Expand Down

0 comments on commit 8ca1771

Please sign in to comment.