Closed lbussell closed 10 months ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
[Triage] This is an issue but it isn't blocking anything at the moment, so we won't fix it at this time.
While implementing https://github.com/dotnet/dotnet-docker/issues/5021, I tried to re-use the existing
jammy-chiseled
runtime
andaspnet
Dockerfiles but add an argument for specifying the variant of the base image, since there should be no difference to the Dockerfile content. Generating readmes fails for this scenario, I believe because of this code:https://github.com/dotnet/docker-tools/blob/74f9169582bae470c771f7298820b40db7b9e8f7/src/Microsoft.DotNet.ImageBuilder/src/McrTagsMetadataGenerator.cs#L139-L150
Which would see that the platforms are matching and remove the matching doc info. This means when we add the McrTagsMetadata for the new tags, the new tags are ignored and thus readme generation fails.
I validated that changing the source Dockerfile fixes this.
Actual behavior