readmeio / rdme

ReadMe's official command-line interface (CLI) and GitHub Action 🌊
https://docs.readme.com/main/docs/rdme
MIT License
103 stars 42 forks source link

Support Multi Arch Images #976

Open Kenec opened 6 months ago

Kenec commented 6 months ago

With the changes introduced in https://github.com/readmeio/rdme/pull/777, only AMD 64 is supported. It would be nice to support other types of architectures.

Example of error message when attempting to use the current image in a custom github runner running on ARM 64

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
kanadgupta commented 6 months ago

Hi @Kenec, thanks for writing in! For context, these images were intended for use in the GitHub Actions ubuntu-latest runner. This isn't on our roadmap at the moment but we'll post any updates here as we have them.

As a workaround in the meantime, you're welcome to clone this repo and build the image yourself (here's the Dockerfile we use to build the image for reference) or you can install rdme via the npm registry. Hope that's helpful!