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

Dry run fix for GenerateEolAnnotationDataCommand #1416

Closed mthalman closed 2 months ago

mthalman commented 2 months ago

When executing GenerateEolAnnotationDataCommand in dry run mode, it attempts to authenticate with Azure credentials in the GetAllImageDigestsFromRegistry method. This fails on the build agent because it has no default Azure credentials.

This is fixed by defaulting the method results to an empty set when in dry run mode.

dotnet-issue-labeler[bot] commented 2 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 2 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.