Skip to content

Commit

Permalink
fix: set arm as default release build architecture (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: karmops <defikarmaops@gmail.com>
  • Loading branch information
karmops committed Jan 8, 2024
1 parent b93f545 commit 66e5d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lint: ## Run linters

.PHONY: build-linux-release
build-linux-release: ## - build a static release linux elf(binary)
@ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO) build -ldflags='-w -s -extldflags "-static"' -a -o "$(GOBIN)/release/linux/vault-eth-signer-$(version)" cmd/plugin/*.go
@ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GO) build -ldflags='-w -s -extldflags "-static"' -a -o "$(GOBIN)/release/linux/vault-eth-signer-$(version)" cmd/plugin/*.go
@ ls -lah $(GOBIN)/release/linux/vault-eth-signer-$(version)
@ shasum -a 256 $(GOBIN)/release/linux/vault-eth-signer-$(version)
@ mkdir -p ./.build/vault/plugins
Expand Down

0 comments on commit 66e5d88

Please sign in to comment.