From ed1424e9468c740d4788530e5b4d9c15a8514ce1 Mon Sep 17 00:00:00 2001 From: Jared Jacobson <71237599+jaredjn@users.noreply.github.com> Date: Mon, 13 Sep 2021 17:13:37 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 22654f8ca..10447d0e0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,13 +41,8 @@ steps: echo 'Building docker container' ./build/docker/images-build.sh -- task: Bash@3 - displayName: 'Push the container to the registry' +- task: Docker@2 inputs: - targetType: 'inline' - script: | - echo 'Uploading container' - export PAT=$(dockerhub_access_token) - echo $PAT | docker login -u $(dockerhub_username) --password-stdin - docker push $(dockerhub_username)/dendrite-monolith:latest - + containerRegistry: 'service-connection-docker_jaredjacobson' + repository: 'dendrite-monolith' + command: 'push'