File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ run-memberagent: manifests generate fmt vet ## Run a controllers from your host.
266266OUTPUT_TYPE ?= type=registry
267267BUILDX_BUILDER_NAME ?= img-builder
268268QEMU_VERSION ?= 7.2.0-1
269+ BUILDKIT_VERSION ?= 0.11.6-2
269270
270271.PHONY : push
271272push :
@@ -275,7 +276,8 @@ push:
275276docker-buildx-builder :
276277 @if ! docker buildx ls | grep $(BUILDX_BUILDER_NAME ) ; then \
277278 docker run --rm --privileged mcr.microsoft.com/mirror/docker/multiarch/qemu-user-static:$(QEMU_VERSION ) --reset -p yes; \
278- docker buildx create --name $(BUILDX_BUILDER_NAME ) --use; \
279+ # By default, it will pull image moby/buildkit:buildx-stable-1 and hit the too many requests error.
280+ docker buildx create --driver-opt image=mcr.microsoft.com/oss/moby/buildkit:$(BUILDKIT_VERSION ) --name $(BUILDX_BUILDER_NAME ) --use; \
279281 docker buildx inspect $(BUILDX_BUILDER_NAME ) --bootstrap; \
280282 fi
281283
You can’t perform that action at this time.
0 commit comments