Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Jared Jacobson 2021-09-13 17:13:37 +10:00
parent 196118e255
commit ed1424e946

View file

@ -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'