mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 09:11:45 +00:00
resolveDefaultPlatform used platforms.Default(), which also matches sub-platforms (e.g. 386 for amd64, arm for arm64). When an index lists a compatible variant before the host platform, the wrong single-arch manifest could be copied to the local mirror. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>