Closed rotten closed 9 months ago
I've been meaning to look into multi-arch builds for a while, since I use an ARM Mac all day long. The build script already uses docker buildx build
, but it seems more needs to be done, eh?
Even better. All you have to do is add a ,linux/ARM64
to the --platform
argument
Had to docker buildx create --use default
on my Mac first, but it seems to work. Will push shortly.
Well the build failed. I tried running it on my Mac, it built nicely but could find no manifests. I added --push
to see what happens, and the images were pushed!
So need to figure out what GitHub Workflow's problem is. Was hoping to keep the build and the push separate, so push happens only on tagging.
Okay, got things revamped in #58. Will get it merged and released in the next few days.
Thanks! I'm sorry that turned out to be harder than it appeared.
Merged and released! v1.4.0.2 now comes in both flavors (and are also tagged v1.4.0 and v1.4).
The current
sqitch/sqitch
image in docker.io only supports Linux/AMD64 architecture. This feature request is to support Linux/ARM64 as well so that we can use this image on the new AWS Graviton processors.The Graviton processors are often faster than their Intel equivalents and are also much cheaper.
It should just be a
docker build
command line update (usedocker build buildx
instead).