-
Notifications
You must be signed in to change notification settings - Fork 242
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
Create service endpoint connections to Docker registry & ACR #706
Comments
@benc-uk : In the latest release it will be possible to create ACR service endpoints |
@benc-uk : gentle ping.. |
Hi @gauravsaralMs I'm not sure the part about need to sniff the network traffic to get the JSON! Maybe you could provide some JSON examples for most common service connection types ? |
Thanks for confirming, yes we may invest in adding more examples going forward |
@benc-uk Were you able to create a service endpoint for ACR with a custom service principal this way? |
@DexterPOSH As documented here - https://docs.microsoft.com/en-us/azure/devops/cli/service_endpoint?view=azure-devops#create-service-endpoint-using-configuration-file it looks like this for ACR -
|
@atbagga Can you please mention how we can retrieve ROLE_ID using cli? |
Hi, I am using the following command: I use the following JSON as input file: The creation of the service connection fails as stated in the message below:
Thank you! |
Hello @benc-uk, @gauravsaralMs, @DexterPOSH, @atbagga, @xsurfer, @bbandroid19, @geverghe, @snankani, Below is my config.JSON file - { For More details, please refer below - The Final output Screenshot is mentioned below:- Hope this helps who ever visits this thread again. Many Thanks |
Is your feature request related to a problem? Please describe.
I want to automate the creation of Azure DevOps projects & pipelines completely with no manual steps.
I need to define a service connection to an Azure container registry for use in my pipelines, but can not as CLI doesn't support it
Describe the solution you'd like
Add a new 'service-endpoint-type' of
docker
to the existingaz devops service-endpoint create
commandThis should initially support Docker hub, and Azure Container Registry (ACR)
e.g.
I would like to provide my own service principal details much like the
--service-endpoint-type azurerm
type accepts. Please use the same command line parameters for these details, also when accepting the service principal secret/key from the environment variable, please use the same name i.e.AZURE_DEVOPS_EXT_AZURE_RM_SERVICE_PRINCIPAL_KEY
For Dockerhub
Add accept the password from
AZURE_DEVOPS_EXT_DOCKERHUB_PASSWORD
environment variableAdditional context
None
The text was updated successfully, but these errors were encountered: