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' echo 'Building docker container'
./build/docker/images-build.sh ./build/docker/images-build.sh
- task: Bash@3 - task: Docker@2
displayName: 'Push the container to the registry'
inputs: inputs:
targetType: 'inline' containerRegistry: 'service-connection-docker_jaredjacobson'
script: | repository: 'dendrite-monolith'
echo 'Uploading container' command: 'push'
export PAT=$(dockerhub_access_token)
echo $PAT | docker login -u $(dockerhub_username) --password-stdin
docker push $(dockerhub_username)/dendrite-monolith:latest