microsoft / vsts-cloudfoundry

Azure DevOps Extension for Cloud Foundry
MIT License
20 stars 23 forks source link

Allow specifying CF_DOCKER_PASSWORD when pushing CF Apps based on Private Registry Docker Images #17

Open krmeda opened 6 years ago

krmeda commented 6 years ago

Currently the Cloud Foundry task in VSTS does not have a means for the user to specify the Private Docker Registry Username (although we can use the manifest to specify that) and the private Docker Registry Password when pushing apps.

More information can be found at: https://docs.cloudfoundry.org/devguide/deploy-apps/push-docker.html#private-repo

We are having to get around this by creating a custom VSTS Agent image with the CLI Installed. It however, needs us to do a lot of work to enable many of the other great features this task offers out of the box.

mozts2005 commented 5 years ago

@krmeda Based on my testing you can to create a secret variable named CF_DOCKER_PASSWORD and the task will have access to the repo.