From dce4c3f75f983af3005524fa1ab66830f494b99b Mon Sep 17 00:00:00 2001 From: dbenoit Date: Tue, 16 Jul 2019 10:08:31 -0400 Subject: [PATCH] remove hard-coded amd64 arch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4980fb7e..4feeb7c7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ REGISTRY?=directxman12 IMAGE?=k8s-prometheus-adapter TEMP_DIR:=$(shell mktemp -d) -ARCH?=amd64 +ARCH?=$(shell go env GOARCH) ALL_ARCH=amd64 arm arm64 ppc64le s390x ML_PLATFORMS=linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x OUT_DIR?=./_output