-
Notifications
You must be signed in to change notification settings - Fork 731
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
Leverage GitHub action arm64 runner #2422
Comments
/remove-label lifecycle/needs-triage |
@tenzen-y can I help with this? i worked on a ci issue on katib as well. |
If you can take this, I would really appreciate it |
.take-issue |
/assign |
I am trying to figure out how you build the same image tag on ARM64 and AMD64 runners, then push under the same multi-arch tag manifest. I guess you might be able to set up a "remote buildx builder" in one runner and call it from the other because I think you need to push at the same time otherwise you overwrite the tag. Or I might be missing something obvious. |
Related kubeflow/notebooks#216 Also, I was a bit confused about the ability to use "remote buildx builders", because that would require the ability for jobs to be able to talk to each other, which is not currently possible in GHA. I did ask upstream about the possibility of running a |
For Golang binaries, the fastest and easiest way to build multi-architecture images is to rely on the Go cross-platform build support and use docker/build-push-action, all within the same hosted runner, e.g.:
This even works with CGO. This solves the initial performance issue with QEMU, without introducing too much complexity. |
thank you all for the information. @astefanutti @thesuperzapper |
Good point. Actually, I considered the solution. But we have Python images as well. So, I proposed creating a gh template leveraging arm64 runner, and then we use the template in all image buildings. |
What you would like to be added?
I would like to restructure our container image-building mechanism by leveraging the arm64 runner.
Currently, we are building the multi-arch container image by QEMU, and the emulation gives us painfully longer building time.
I guess that we can improve the CI duration once we build the multi-arch image with multiple GitHub actions runner (and arm64).
Why is this needed?
This probably allows us to compress image building and CI time.
Love this feature?
Give it a 👍 We prioritize the features with most 👍
The text was updated successfully, but these errors were encountered: