Closed mthalman closed 1 month 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.
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.
Regression from the changes in https://github.com/dotnet/docker-tools/pull/1379. When running the cleanup pipeline, all queries to the registry using the
oras
tool are failing with an authentication error.Example:
This is because
oras
relies on authentication of the Docker CLI by default. But the Docker CLI is not logged into inCleanAcrImagesCommand
. This should be able to be fixed by callingIRegistryCredentialsProvider.ExecuteWithCredentialsAsync
./cc @NikolaMilosavljevic