variant ignored for linux/arm64
I built an image using buildctl with --opt platform=linux/arm/v7,linux/arm64/v8.
For linux/arm/v7, the variant is properly shown in the logs ("[linux/arm/v7]") and in the metadata file ("containerimage.buildinfo/linux/arm/v7"). It also shows up in the multi-arch manifest list (platform.variant).
However, for linux/arm64/v8, the variant appears to be completely ignored. The logs just show "[linux/arm64]" and the metadata file just has "containerimage.buildinfo/linux/arm64". It does not show up in the mulit-arch manifest list (platform.variant is not present).
I am using buildkit v0.11.6.
https://github.com/moby/buildkit/issues/4039#issuecomment-1641880638
@crazy-max All the images on Docker Hub show "linux/arm64/v8" not "linux/arm64". It's pretty confusing that buildkit behaves differently. It's also confusing that buildkit rewrites what I tell it instead of just failing.
Any news?