From cf9a55836f5da9f2289d9bda1390c52bc99fa08b Mon Sep 17 00:00:00 2001 From: karmops Date: Mon, 8 Jan 2024 16:12:42 +0100 Subject: [PATCH] fix: set arm as default release build architecture Signed-off-by: karmops --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18e373c..25e1d70 100644 --- a/Makefile +++ b/Makefile @@ -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