Open j796160836 opened 2 years ago
sorry I don't know when I'll be able to get to this. I'm between computers right now and I kind of stopped using Docker CLI
I solved in my fork.
https://github.com/j796160836/docker-simple-test-http https://hub.docker.com/r/j796160836/simple-test-http
Here is new build command, you need to install buildx
command.
https://docs.docker.com/buildx/working-with-buildx/
$ docker login
then enter your credentials.
$ docker buildx build --push -t crccheck/hello-world:latest --platform linux/amd64,linux/arm64,linux/arm/v7 .
Check your docker hub's page, it will list multiple architecture in list.
By the way, don't use docker push
command. It will upload only one architecture.
I ended up installing Rancher Desktop (not Docker Desktop) on my M1 Mac and wasn't able to recreate the problem.
As for Docker Desktop users, maybe I can adjust the CI script to publish a buildx
build
you can try my image cernoel/hello-world:main .. if this works .. @crccheck might pull my changes in the publish.yaml to fix this? .. at least it works in my case for the ampere (arm64) servers.
Hi, Please add arm64 support although it's hello world project. Busybox (base image) has support arm64. I think just rebuild it will be ok. Thanks.