zhaofengli / attic

Multi-tenant Nix Binary Cache
https://docs.attic.rs
Other
941 stars 70 forks source link

Support aarch64-linux container #147

Closed dsalaza4 closed 2 days ago

dsalaza4 commented 2 months ago

Hi,

Your solution looks great. Thank you so much for all the effort!

I was wondering if there are plans to publish a aarch64-linux container.

Thank you!

cole-h commented 2 months ago

https://github.com/zhaofengli/attic/blob/6139576a3ce6bb992e0f6c3022528ec233e45f00/.github/workflows/build.yml#L67

This happens in CI, so I think this would require arm64 runners of some sort. The good news is, GitHub recently launched an open beta for this: https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/

The bad news is, it's only available for GitHub Team and Enterprise Cloud plans. The good news is, they say "We expect to begin offering Arm runners for open source projects by the end of the year". The bad news is, it won't be available until "end of the year".

dsalaza4 commented 2 months ago

We currently use https://buildjet.com/for-github-actions for building aarch-64-linux containers on https://github.com/fluidattacks/makes.

The free plan is enough if you're just using them for building a container every time a new version is released 🫶

This is how the github action looks like: https://github.com/fluidattacks/makes/blob/main/.github/workflows/prod.yml#L19