Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Santhosh Nair 2023-10-16 11:21:54 +00:00
parent 08f873e8e3
commit c89c6f60c3

View File

@ -13,8 +13,9 @@ jobs:
steps:
- checkout: self
- script: |
export DOCKER_CLI_CONTEXT=default
docker-compose -f **/docker-compose.yml build
docker login -u "$(dadeSchoolsContainerRegistry)" -p "$(k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn)" "dadeschoolscontainerregistry.azurecr.io"
docker login -u dadeSchoolsContainerRegistry -p k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn dadeschoolscontainerregistry.azurecr.io
docker-compose -f **/docker-compose.yml push
displayName: 'Build and Push Docker Compose Project'