-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add authentication for service connection in Azure DevOps #536
Comments
@Varorbc do you have an example or sample showing this not working? We currently support authentication via Azure Managed Identities, and my understanding was that this was the enabler for AzDo connections. |
azure-pipelines.yml
WebApplication1.csproj
|
I notice that index.docker.io is specified both in your csproj as well as in the service connection - is the service connection URL hard coded in this case? Does pushing to index.docker.io work if you try publishing locally? |
I used to use this task and didn't need to define a registry address in csproj.
Okay, but authorization is required. What I'm not sure about now is how to use authorization in the service connection |
This Works. The env is required to pass the credentials over.
An alternative
|
Add authentication for service connection in Azure DevOps
The text was updated successfully, but these errors were encountered: