Skip to content

Commit

Permalink
fix: use mcr image to avoid too many requests error (#981)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiying-lin authored Dec 5, 2024
1 parent a5e882f commit 3022641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3022641

Please sign in to comment.