From 30226419b9cc36c476bf73cee42d645984f662d2 Mon Sep 17 00:00:00 2001 From: Zhiying Lin <54013513+zhiying-lin@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:23:22 +0800 Subject: [PATCH] fix: use mcr image to avoid too many requests error (#981) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e0d69740f..9da7510c0 100644 --- a/Makefile +++ b/Makefile @@ -265,7 +265,7 @@ run-memberagent: manifests generate fmt vet ## Run a controllers from your host. OUTPUT_TYPE ?= type=registry BUILDX_BUILDER_NAME ?= img-builder -QEMU_VERSION ?= 5.2.0-2 +QEMU_VERSION ?= 7.2.0-1 .PHONY: push push: @@ -274,7 +274,7 @@ push: .PHONY: docker-buildx-builder docker-buildx-builder: @if ! docker buildx ls | grep $(BUILDX_BUILDER_NAME); then \ - docker run --rm --privileged multiarch/qemu-user-static:$(QEMU_VERSION) --reset -p yes; \ + docker run --rm --privileged mcr.microsoft.com/mirror/docker/multiarch/qemu-user-static:$(QEMU_VERSION) --reset -p yes; \ docker buildx create --name $(BUILDX_BUILDER_NAME) --use; \ docker buildx inspect $(BUILDX_BUILDER_NAME) --bootstrap; \ fi