From 49247ccebec81a47ea0daa28f2e222acc3cae6de Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 22 Feb 2021 12:19:51 +0000 Subject: [PATCH] Squashed 'release-tools/' changes from 7bc70e5..df76aba df76aba Merge pull request #134 from andyzhangx/add-build-arg e314a56 add build-arg ARCH for building multi-arch images, e.g. ARG ARCH FROM k8s.gcr.io/build-image/debian-base-${ARCH}:v2.1.3 git-subtree-dir: release-tools git-subtree-split: df76aba89e193d53e2afef40d7cf8f649a408987 --- build.make | 1 + 1 file changed, 1 insertion(+) diff --git a/build.make b/build.make index 9b8306c06..1faaf3b90 100644 --- a/build.make +++ b/build.make @@ -149,6 +149,7 @@ $(CMDS:%=push-multiarch-%): push-multiarch-%: check-pull-base-ref build-% --platform=$$os/$$arch \ --file $$(eval echo \$${dockerfile_$$os}) \ --build-arg binary=./bin/$*$$suffix \ + --build-arg ARCH=$$arch \ --label revision=$(REV) \ .; \ done; \