From a50fbf9254a164c4dcf9d282f4aff29fe25160fb Mon Sep 17 00:00:00 2001 From: Rodriguez Nyiringabo Date: Mon, 30 Sep 2024 09:48:24 +0100 Subject: [PATCH] Add linux/arm64 and linux/386 architectures building --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d45a4b0f95..a8032926bc 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,8 @@ docker-push: ## build, tag, and push image to dockerhub. presumes you are logge @[ "$(tag)" = "" ] && (echo "Tag required. Example tag=1.2.3" ; exit 1) @image=$(DOCKERHUB_REPO):$(tag) @echo "Building image $${image}" - @docker buildx build . --platform linux/amd64 \ + @docker buildx build . --platform linux/386,linux/amd64,linux/arm64 \ -t $${image} -f docker/Dockerfile --push - # TODO: build for arm architectures .PHONY: dockerhub-push-readme .ONESHELL: