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
This commit is contained in:
Claudiu Belu 2020-11-03 22:16:57 -08:00
parent b835457c6e
commit 5de5ae6bd3

View File

@ -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'
- |