-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use a base_image with multiple-platforms for aarch64? #113
Comments
Hi, yes, the problem is that the image is multi-platform and the action doesn't allow to explicitly specify the architecture. Adding support for --platform could be useful also for images that don't specify the architecture, but in this release I don't plan to add any more parameters. AFAIK, you could select a specific version of the image adding the digest like |
Will we plan support apply parameter I saw from README, mentioned.
|
Yes, I will give a better name to the parameters but that's the idea, if you don't use the default images you can optionally specify a platform for the base_image. |
I think you can do this by just specifying
That seems to work for me e.g. https://github.com/grimbough/arm64-workflow/actions/runs/4568897053/jobs/8064509304#step:3:112 |
Thanks, I found this way also works: |
I am trying this to run arm64 docker container, but seems I can not get a QMENU ARM64 environment, still X86 runner, is there anything wrong with my configuration?
action output:
https://github.com/laoshanxi/app-mesh/actions/runs/4329800139/jobs/7560595971
workflow:
and also I founc $(arch) return
x86_64
.BTW, the base_image
laoshanxi/appmesh:build_ubuntu18
here have arm64 and x86_64 platforms, so how can I force specify arm64 to run this base image?The text was updated successfully, but these errors were encountered: