From 5de5ae6bd3f158768d5f7381e095939e3d952492 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Tue, 3 Nov 2020 22:16:57 -0800 Subject: [PATCH] test images: sets HOME=/root in cloudbuild.yaml The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx We need to set the Home to /root explicitly since we're using docker buildx --- test/images/cloudbuild.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/images/cloudbuild.yaml b/test/images/cloudbuild.yaml index 3167fc36a90..d6db1ff5530 100644 --- a/test/images/cloudbuild.yaml +++ b/test/images/cloudbuild.yaml @@ -18,6 +18,9 @@ steps: - BASE_REF=$_PULL_BASE_REF - WHAT=$_WHAT - REGISTRY=gcr.io/k8s-staging-e2e-test-images + # The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx + # We need to set the HOME to /root explicitly since we're using docker buildx + - HOME=/root args: - '-c' - |