From 4079c31835c32ee95be76db64c51d28a6f78dc7f Mon Sep 17 00:00:00 2001 From: Ivo Petrov Date: Fri, 19 Jul 2024 08:29:09 -0400 Subject: [PATCH] Use --platform instead of --arch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 550f1d0..f0c62ce 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ run: manifests generate fmt vet ## Run a controller from your host. # More info: https://docs.docker.com/develop/develop-images/build_enhancements/ .PHONY: docker-build docker-build: ## Build docker image with the manager. - $(CONTAINER_TOOL) build -t ${IMG} --arch linux/amd64 . + $(CONTAINER_TOOL) build -t ${IMG} --platform linux/amd64 . .PHONY: docker-push docker-push: ## Push docker image with the manager.