From e5f522b3a688ea6617cc031b2ee3809d685d02cb Mon Sep 17 00:00:00 2001 From: Connor Catlett Date: Mon, 25 Mar 2024 16:43:19 +0000 Subject: [PATCH] Hardcode buildkit verison to 0.12.5 Signed-off-by: Connor Catlett --- hack/e2e/ecr.sh | 2 +- hack/prow.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/e2e/ecr.sh b/hack/e2e/ecr.sh index 9f5e4f0d25..18afd27af8 100644 --- a/hack/e2e/ecr.sh +++ b/hack/e2e/ecr.sh @@ -29,7 +29,7 @@ function ecr_build_and_push() { # Only setup buildx builder on Prow, allow local users to use docker cache if [ -n "${PROW_JOB_ID:-}" ]; then trap "docker buildx rm ebs-csi-multiarch-builder" EXIT - docker buildx create --bootstrap --use --name ebs-csi-multiarch-builder + docker buildx create --driver-opt=image=moby/buildkit:v0.12.5 --bootstrap --use --name ebs-csi-multiarch-builder docker run --rm --privileged multiarch/qemu-user-static --reset -p yes fi diff --git a/hack/prow.sh b/hack/prow.sh index d43b5650e3..bc0646f532 100755 --- a/hack/prow.sh +++ b/hack/prow.sh @@ -32,7 +32,7 @@ loudecho "Set up Docker Buildx" # and https://github.com/kubernetes-csi/csi-release-tools/blob/master/build.make#L132 export DOCKER_CLI_EXPERIMENTAL=enabled trap "docker buildx rm multiarchimage-buildertest" EXIT -docker buildx create --bootstrap --use --name multiarchimage-buildertest +docker buildx create --driver-opt=image=moby/buildkit:v0.12.5 --bootstrap --use --name multiarchimage-buildertest loudecho "Set up QEMU" # See https://github.com/docker/setup-qemu-action