You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github: Build the multiplatform docker image in two steps
6b6b124 tried to build a multiplatform image, by building two images separately and pushing them one at a time, with the same name (but with a different platform). This doesn't work as expected; the last push for the image name replaces earlier pushes. So depending on which push finishes last, we'd end up with either an amd64 or arm64 image, but not one that supports both. Instead, push two separate images just with push-by-digest, and then create the actual tag with "docker buildx imagetools create". Alternatively, we could build all platform variants of the main image with Dockerfile.toolchain, simplifying the setup significantly. The contents of such a build is marginally different though, so keep the amd64 image as it was, for now, compiled in that environment.
0 commit comments