dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
122 stars 46 forks source link

Only prepopulate creds cache when push enabled #1353

Closed mthalman closed 3 months ago

mthalman commented 3 months ago

The change from https://github.com/dotnet/docker-tools/pull/1352 was causing the build command to fail on public builds because the environment isn't configured to have creds.

Updated it to only execute when push is enabled, which is the case for internal builds where the creds will exist.

dotnet-issue-labeler[bot] commented 3 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 3 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.