From 33cfd6eabac4d880b0cd887b6d0e4262b542da86 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 21 Jan 2022 07:34:49 +0200 Subject: [PATCH] scripts: configure docker auth in push-image.sh Re-introduce docker authentication that was dropped in bac690813ae5416387c9a4ace2ab4b65b040f4ee. Should fix issues with building multi-arch buildx buildx. --- scripts/test-infra/push-image.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/test-infra/push-image.sh b/scripts/test-infra/push-image.sh index 9c6e55e700..b6b2fbccb1 100755 --- a/scripts/test-infra/push-image.sh +++ b/scripts/test-infra/push-image.sh @@ -5,4 +5,8 @@ # container image tag VERSION_OVERRIDE=${_GIT_TAG+VERSION=${_GIT_TAG:10}} +# Authenticate in order to be able to push images +gcloud auth configure-docker + +# Build and push images make push-all $VERSION_OVERRIDE