test images: set DOCKER_CLI_EXPERIMENTAL=enabled

docker buildx requires DOCKER_CLI_EXPERIMENTAL=enabled to be set
in order to be used.

This environment variable is not getting plumbed through from the
test/images/cloudbuild.yaml file, causing the docker buildx commands
to fail.
This commit is contained in:
Claudiu Belu 2020-11-04 14:23:44 +00:00
parent 71fea80155
commit cf838ca180

View File

@ -22,6 +22,7 @@ steps:
- '-c'
- |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes \
&& export DOCKER_CLI_EXPERIMENTAL=enabled \
&& docker buildx create --name img-builder --use \
&& docker buildx inspect --bootstrap \
&& make all-build-and-push