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.
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.
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.