Since PR #47 has gone stale, I decided to approach the issue myself.
After evaluation of approach presented in previous PR comment versus the official way via BuildX I saw specifying target platform inside the Dockerfile as a proper solution in comparison to changing GitHub Actions of the official images to provide the image under new tags.
This however generates a warning which is a small price to pay for otherwise functional image.
See my GitHub Action result for the example.
If needed, specifying --platform for docker build and docker run might be wrapped in a separate PR as I see it,
especially since I don't have full list of supported values for it.
Add support for official Manjaro Linux Docker image ( https://github.com/manjaro/manjaro-docker )
Summary
Since PR #47 has gone stale, I decided to approach the issue myself.
After evaluation of approach presented in previous PR comment versus the official way via BuildX I saw specifying target platform inside the
Dockerfile
as a proper solution in comparison to changing GitHub Actions of the official images to provide the image under new tags.This however generates a warning which is a small price to pay for otherwise functional image. See my GitHub Action result for the example.
If needed, specifying
--platform
fordocker build
anddocker run
might be wrapped in a separate PR as I see it, especially since I don't have full list of supported values for it.