diff --git a/Makefile b/Makefile index b7805f9e8..3d5e1b39e 100644 --- a/Makefile +++ b/Makefile @@ -230,7 +230,8 @@ PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le image/buildx: ifeq ($(DOCKER),docker) # docker uses builder containers - $(DOCKER) buildx create --use --name model-registry-builder + - $(DOCKER) buildx rm model-registry-builder + $(DOCKER) buildx create --use --name model-registry-builder --platform=$(PLATFORMS) $(DOCKER) buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f ${DOCKERFILE} . $(DOCKER) buildx rm model-registry-builder else ifeq ($(DOCKER),podman)