Closed mthalman closed 2 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.
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.
There's a build in buildtools-prereqs (internal link) that is failing with an unauthorized error when attempting to pull an image from the ACR. This scenario occurs when the build ends up building an image that takes a long time (in this case 3+ hrs) and then attempting to pull an image from the ACR due to a cache hit.
We probably need to change the logic so that it calls
IRegistryCredentialsProvider.ExecuteWithCredentialsAsync
for each Dockerfile that is processed rather than once for the whole batch.