Platform unknown/unknown in multiplatform build

Hi,

I followed this document and created a github workflow to build amd64 and arm64 multiplatform docker image for my project. I tested the image and it runs on both amd64 and arm64 system. But when I inspect the image, I found there are 2 layers with platform: unknown/unknown, alone with the linux/amd64 and linux/amd64 layers.

If I modify the github workflow to build only for one platform, I got only one platform: unknown/unknown layer. So I think the unknown layer is related to how I build the image. I wonder if I made any mistake when creating the image. What is that unknown layer for and can I remove them?

Thanks

This may help

2 Likes

This field is moving so fast these days. Thanks a lot.