You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There can be circumstances where the EOL annotation logic will fail when attempting to query the metadata about an image in the ACR, where the image does not exist.
This occurs when the following conditions occur:
A .NET version has become EOL (such as 6.0) and the build has marked all of those images as EOL.
Those Dockerfiles are not yet removed from the repo.
ACR cleanup has run which deletes those EOL images from the ACR.
A subsequent build runs which builds Dockerfiles other than the EOL ones.
The issue here is in the generateEolAnnotationData command. It will see that the EOL Dockerfiles exist and that they should be added to the list of digests to be annotated here:
. The problem is that the images shouldn't have been added in the first place, or at least checked to see whether they exist before attempting to get their metadata.
There can be circumstances where the EOL annotation logic will fail when attempting to query the metadata about an image in the ACR, where the image does not exist.
This occurs when the following conditions occur:
The issue here is in the
generateEolAnnotationData
command. It will see that the EOL Dockerfiles exist and that they should be added to the list of digests to be annotated here:docker-tools/src/Microsoft.DotNet.ImageBuilder/src/Commands/GenerateEolAnnotationDataCommand.cs
Lines 204 to 229 in 6c08c3f
Example failing build (internal link)
The text was updated successfully, but these errors were encountered: