From 2605b844ad26beb2364d615438b0e31ad4dce9c9 Mon Sep 17 00:00:00 2001 From: Jared Jacobson <71237599+jaredjn@users.noreply.github.com> Date: Mon, 13 Sep 2021 16:53:00 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1b87e82a5..e6a0b863f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,3 +41,12 @@ steps: echo 'Building docker container' ./build/docker/images-build.sh +- task: Bash@3 + displayName: 'Push the container to the registry' + inputs: + targetType: 'inline' + script: | + echo 'Uploading container' + echo $(dockerhub_access_token) | docker login -u $(dockerhub_username) --password-stdin + docker push $(dockerhub_username)/dendrite-monolith:latest +