This modifies the Github Workflow steps by using Docker's official images for building to multiple architectures. I tried to keep parity with the current format, but I also added some new (optional) parameters for envvars that allow the user to choose a different image name and registry.
In order to test this, I created a non-fork repo (by default, Github doesn't allow forks to share secrets to workflows). This has built an image that I've tested on my Raspberry Pi, and it seems to work perfectly, although I haven't tested the corresponding amd64 image yet.
This modifies the Github Workflow steps by using Docker's official images for building to multiple architectures. I tried to keep parity with the current format, but I also added some new (optional) parameters for envvars that allow the user to choose a different image name and registry.
In order to test this, I created a non-fork repo (by default, Github doesn't allow forks to share secrets to workflows). This has built an image that I've tested on my Raspberry Pi, and it seems to work perfectly, although I haven't tested the corresponding amd64 image yet.