Skip to content
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

[enhacement] Speed up gh oci-build action (Move to new gh linux arm64 runners) #364

Open
adrianriobo opened this issue Dec 18, 2024 · 1 comment

Comments

@adrianriobo
Copy link
Collaborator

Currently we build multi-arch images on an x86 ubuntu runner, so the emulation of arm64 to build the arch is taking a lot of time. We can customize a bit the action to speed up things:

  • Review Containerfile to ensure the strategy for partial images (images built which can be cached)
  • Add cache for images path on the runners
  • Split the build in parallel: one runner x86 one runner (emulated) arm64
@adrianriobo
Copy link
Collaborator Author

We can make use of new added linux-arm64 runners to avoid emulate arm64 builds which are really time consuming

https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

@adrianriobo adrianriobo changed the title [enhacement] Speed up gh oci-build action [enhacement] Speed up gh oci-build action (Move to new gh linux arm64 runners) Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant