From 566a6c36ba535b3c734cbca27b4164a2911ac5df Mon Sep 17 00:00:00 2001 From: Bob Callaway Date: Wed, 16 Jun 2021 20:14:18 -0400 Subject: [PATCH] build for arm64 and amd64 Signed-off-by: Bob Callaway --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8455cc01f..e76f1d65e 100644 --- a/Makefile +++ b/Makefile @@ -84,8 +84,8 @@ debug: ko: # We can't pass more than one LDFLAG via GOFLAGS, you can't have spaces in there. - CGO_ENABLED=0 GOFLAGS="-tags=pivkeydisabled -ldflags=-X=$(SERVER_PKG).gitCommit=$(GIT_HASH)" ko publish --bare \ - --tags $(GIT_VERSION) --tags $(GIT_HASH) \ + CGO_ENABLED=0 GOFLAGS="-ldflags=-X=$(SERVER_PKG).gitCommit=$(GIT_HASH)" ko publish --bare \ + --tags $(GIT_VERSION) --tags $(GIT_HASH) --platform=linux/amd64,linux/arm64 \ github.com/sigstore/rekor/cmd/rekor-server sign-container: ko