dotnet / dotnet/docker-tools

Authenticate to test ACR for ImageBuilder pulls

Open
#1,635 1 comment 0 reactions 0 assignees View on GitHub
area-infrastructure
Dominant language
C#
Stars
181
Forks
67
Avg merge
2d 15h
Merged PRs (30d)
10

Description

At times we want to run experiments with new ImageBuilder features. We can publish to our test ACR, but anonymous pull access is required in order to pull from it during builds. Authenticating to the test ACR during ImageBuilder pulls would eliminate the need for anonymous pull access on the test ACR.

This would require the following:

- [ ] Create a new Managed Identity with pull access to the test ACR
- [ ] Create a new service connection for the new MSI
- [ ] Modify the following call sites to authenticate with the MSI before pulling:

https://github.com/dotnet/docker-tools/blob/6ff28583c6e3ac35f9323325767db15202532be4/eng/common/templates/steps/init-docker-linux.yml#L27-L29

https://github.com/dotnet/docker-tools/blob/6ff28583c6e3ac35f9323325767db15202532be4/eng/common/templates/steps/init-docker-windows.yml#L24-L26

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.