dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
124 stars 46 forks source link

ImageBuilder should not allow duplicate OS/architecture under the same shared tags #1139

Open lbussell opened 1 year ago

lbussell commented 1 year ago

Please see https://github.com/dotnet/dotnet-docker/issues/4634 for more details.

Essentially, ImageBuilder will allow you to have multiple OS types or architectures categorized under the same shared tags, which results in the readmes being incorrect. When the images are published to MAR/DH, pulling the tag will only give you the first image in the manifest with the duplicate architecture. This arrangement should result in an error at readme or Dockerfile generation time as it results in readmes being created with incorrect tag information for some images.