use custom binary for arm64 linux release (#1065)

This commit is contained in:
Caleb Doxsey 2020-07-14 07:59:26 -06:00 committed by GitHub
parent 645f0a2ff8
commit 5f6a67e6eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 11 deletions

View file

@ -21,9 +21,13 @@ builds:
binary: pomerium
goarch:
- amd64
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
ldflags:
- -s -w
@ -36,8 +40,8 @@ builds:
hooks:
post:
- cmd: ./scripts/embed-envoy.bash {{ .Path }}
env:
- GOOS={{ .Target }}
env: # e.g. darwin_amd64
- TARGET={{ .Target }}
- id: pomerium-cli
main: cmd/pomerium-cli/cli.go