From b95891b1f0b81bd5a19393ab004fc3dbabb71689 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 11 Nov 2020 17:34:10 +0000 Subject: [PATCH] test images: sets DOCKER_CLI_EXPERIMENTAL="enabled" globally --- test/images/image-util.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/images/image-util.sh b/test/images/image-util.sh index 25a18488f84..9cf483fe765 100755 --- a/test/images/image-util.sh +++ b/test/images/image-util.sh @@ -21,6 +21,9 @@ set -o pipefail TASK=$1 WHAT=$2 +# docker buildx command is still experimental as of Docker 19.03.0 +export DOCKER_CLI_EXPERIMENTAL="enabled" + # Connecting to a Remote Docker requires certificates for authentication, which can be found # at this path. By default, they can be found in the ${HOME} folder. We're expecting to find # here ".docker-${os_version}" folders which contains the necessary certificates. @@ -189,8 +192,6 @@ push() { kube::util::ensure-gnu-sed - # The manifest command is still experimental as of Docker 18.09.2 - export DOCKER_CLI_EXPERIMENTAL="enabled" # reset manifest list; needed in case multiple images are being built / pushed. manifest=() # Make os_archs list into image manifest. Eg: 'linux/amd64 linux/ppc64le' to '${REGISTRY}/${image}:${TAG}-linux-amd64 ${REGISTRY}/${image}:${TAG}-linux-ppc64le'