diff --git a/.gitignore b/.gitignore index c8561e8de..66a17748c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,5 @@ /kapp -/kapp-darwin-amd64 -/kapp-linux-amd64 -/kapp-linux-arm64 -/kapp-windows-amd64.exe +/kapp-* /tmp .idea diff --git a/hack/build-binaries.sh b/hack/build-binaries.sh index a346f13f5..0eac688c2 100755 --- a/hack/build-binaries.sh +++ b/hack/build-binaries.sh @@ -9,6 +9,7 @@ export CGO_ENABLED=0 repro_flags="-ldflags=-buildid= -trimpath" GOOS=darwin GOARCH=amd64 go build $repro_flags -o kapp-darwin-amd64 ./cmd/kapp/... +GOOS=darwin GOARCH=arm64 go build $repro_flags -o kapp-darwin-arm64 ./cmd/kapp/... GOOS=linux GOARCH=amd64 go build $repro_flags -o kapp-linux-amd64 ./cmd/kapp/... GOOS=linux GOARCH=arm64 go build $repro_flags -o kapp-linux-arm64 ./cmd/kapp/... GOOS=windows GOARCH=amd64 go build $repro_flags -o kapp-windows-amd64.exe ./cmd/kapp/...