Skip to content
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

[KubernetesManifest] ACR based DockerRegistry endpoint #10039

Merged
merged 5 commits into from
Apr 5, 2019

Conversation

thesattiraju
Copy link
Contributor

…vice connection

@thesattiraju thesattiraju requested a review from rakol-ms April 4, 2019 16:27
return `docker-registry ${TaskInputParameters.secretName.trim()} --docker-username=${dockerRegistryAuth["username"]} --docker-password=${dockerRegistryAuth["password"]} --docker-server=${dockerRegistryAuth["registry"]} --docker-email=${dockerRegistryAuth["email"]}`
var registryType = tl.getInput("containerRegistryType", true);
if (registryType === "Azure Container Registry") {
let spnId = tl.getEndpointAuthorizationParameter(TaskInputParameters.dockerRegistryEndpoint, 'serviceprincipalid', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have 1 copy of this code across docker/kubernetes manifest task?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bansalaseem moved the logic to docker-common

@thesattiraju thesattiraju merged commit 9c4a804 into master Apr 5, 2019
thesattiraju added a commit that referenced this pull request Apr 22, 2019
* [KubernetesManifest] Adding support for ACR based Docker Registry service connection

* Refactoring dockerregistry logic to common

* Fixing it in dockerCompose task
thesattiraju added a commit that referenced this pull request Apr 22, 2019
* [KubernetesManifest] ACR based DockerRegistry endpoint (#10039)

* [KubernetesManifest] Adding support for ACR based Docker Registry service connection

* Refactoring dockerregistry logic to common

* Fixing it in dockerCompose task

* Task bump up
@thesattiraju thesattiraju deleted the users/desattir/newAuthTypeDocker branch May 23, 2019 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants