mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 01:01:22 +00:00
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:
parent
71fea80155
commit
cf838ca180
@ -22,6 +22,7 @@ steps:
|
|||||||
- '-c'
|
- '-c'
|
||||||
- |
|
- |
|
||||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes \
|
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 create --name img-builder --use \
|
||||||
&& docker buildx inspect --bootstrap \
|
&& docker buildx inspect --bootstrap \
|
||||||
&& make all-build-and-push
|
&& make all-build-and-push
|
||||||
|
Loading…
Reference in New Issue
Block a user