tdiesler commented on PR #5200: URL: https://github.com/apache/camel-k/pull/5200#issuecomment-1983798678
Here is my next attempt for this ... You can run ``` NOTEST=1 make clean images ... ####### Skipping unit test... ####### Building kamel CLI for amd64 architecture... CGO_ENABLED=0 GOARCH=amd64 go build -ldflags "-X github.com/apache/camel-k/v2/pkg/util/defaults.GitCommit=853be0a46cf0d3532e33e48c2644884a7fdcaac9" -trimpath -o build/_output/bin/kamel-amd64 ./cmd/kamel/*.go ####### Building kamel CLI for arm64 architecture... CGO_ENABLED=0 GOARCH=arm64 go build -ldflags "-X github.com/apache/camel-k/v2/pkg/util/defaults.GitCommit=853be0a46cf0d3532e33e48c2644884a7fdcaac9" -trimpath -o build/_output/bin/kamel-arm64 ./cmd/kamel/*.go ... ####### Building Camel K operator arch amd64 container image... mkdir -p build/_maven_output docker buildx build --target base --platform=linux/amd64 --build-arg IMAGE_ARCH=amd64 -t docker.io/apache/camel-k:2.3.0-SNAPSHOT-amd64 -f build/Dockerfile --load . ####### Building Camel K operator arch arm64 container image... mkdir -p build/_maven_output docker buildx build --target base --platform=linux/arm64 --build-arg IMAGE_ARCH=arm64 -t docker.io/apache/camel-k:2.3.0-SNAPSHOT-arm64 -f build/Dockerfile --load . ``` You should then find these images in your local registry ``` $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE apache/camel-k 2.3.0-SNAPSHOT-arm64 aea419a206ab 27 seconds ago 549MB apache/camel-k 2.3.0-SNAPSHOT-amd64 509a6b88f5f5 About a minute ago 556MB ``` Which can them be combined to a multiarch image like this ``` $ make images-push docker push docker.io/apache/camel-k:2.3.0-SNAPSHOT-amd64 docker push docker.io/apache/camel-k:2.3.0-SNAPSHOT-arm64 ... docker manifest create docker.io/nessusio/camel-k:2.3.0-SNAPSHOT --amend docker.io/nessusio/camel-k:2.3.0-SNAPSHOT-amd64 --amend docker.io/nessusio/camel-k:2.3.0-SNAPSHOT-arm64 Created manifest list docker.io/nessusio/camel-k:2.3.0-SNAPSHOT docker manifest push docker.io/nessusio/camel-k:2.3.0-SNAPSHOT sha256:13f2e249b41046ddfbfbe70906736ac899dd252bc685ae459f689aa26b2ba8d8 ``` https://hub.docker.com/repository/docker/nessusio/camel-k/tags?page=1&ordering=last_updated -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org