This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 7790fc35162ec4fec33637ce8a8fa15fc48dd8cd Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Fri Jul 29 12:08:37 2022 +0200 Fix building multi-arch containers on ARM on MacOS --- script/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/Makefile b/script/Makefile index 878e90025..14936d5a4 100644 --- a/script/Makefile +++ b/script/Makefile @@ -397,6 +397,9 @@ endif ifeq ($(shell uname -m), aarch64) docker buildx build --platform=linux/arm64 -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile.arch . endif +ifeq ($(shell uname -m), arm64) + docker buildx build --platform=linux/arm64 -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile.arch . +endif images-dev: build kamel-overlay maven-overlay bundle-kamelets package-artifacts @echo "####### Building Camel K operator container development image..." @@ -412,6 +415,9 @@ endif ifeq ($(shell uname -m), aarch64) docker buildx build --platform=linux/arm64 -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile.arch . endif +ifeq ($(shell uname -m), arm64) + docker buildx build --platform=linux/arm64 -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile.arch . +endif images-push: docker push $(CUSTOM_IMAGE):$(CUSTOM_VERSION)