From 5fc25dd4b972475f80e8c33331d9ded7e21b863c Mon Sep 17 00:00:00 2001 From: Benjamin Schimke Date: Tue, 2 Jul 2024 18:03:33 +0200 Subject: [PATCH] fix multiarch manifests --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ec4833df..b6b9d017 100644 --- a/Makefile +++ b/Makefile @@ -239,7 +239,7 @@ generate-bootstrap-conversions: $(CONVERSION_GEN) .PHONY: docker-build-bootstrap docker-build-bootstrap-%: - DOCKER_BUILDKIT=1 docker build --build-arg builder_image=$(GO_CONTAINER_IMAGE) --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$* --build-arg package=./bootstrap/main.go --build-arg ldflags="$(LDFLAGS)" . -t ${BOOTSTRAP_IMG}-$*:${BOOTSTRAP_IMG_TAG} + DOCKER_BUILDKIT=1 docker build --build-arg builder_image=$(GO_CONTAINER_IMAGE) --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$* --build-arg package=./bootstrap/main.go --build-arg ldflags="$(LDFLAGS)" . -t ${BOOTSTRAP_IMG}:${BOOTSTRAP_IMG_TAG}-$* docker-build-bootstrap: manager-bootstrap docker-build-bootstrap-amd64 docker-build-bootstrap-arm64 # Push the bootstrap multiarch image @@ -323,7 +323,7 @@ generate-controlplane-conversions: $(CONVERSION_GEN) .PHONY: docker-build-controlplane docker-build-controlplane-%: - DOCKER_BUILDKIT=1 docker build --build-arg builder_image=$(GO_CONTAINER_IMAGE) --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$* --build-arg package=./controlplane/main.go --build-arg ldflags="$(LDFLAGS)" . -t ${CONTROLPLANE_IMG}-$*:${CONTROLPLANE_IMG_TAG} + DOCKER_BUILDKIT=1 docker build --build-arg builder_image=$(GO_CONTAINER_IMAGE) --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$* --build-arg package=./controlplane/main.go --build-arg ldflags="$(LDFLAGS)" . -t ${CONTROLPLANE_IMG}:${CONTROLPLANE_IMG_TAG}-$* docker-build-controlplane: manager-controlplane docker-build-controlplane-amd64 docker-build-controlplane-arm64 # Push the controlplane multiarch image