diff --git a/DamageAssesmentApi/azure-pipelines.yml b/DamageAssesmentApi/azure-pipelines.yml index 747ee0f..32a0e68 100644 --- a/DamageAssesmentApi/azure-pipelines.yml +++ b/DamageAssesmentApi/azure-pipelines.yml @@ -9,13 +9,13 @@ pool: jobs: - job: 'BuildAndPush' + env: + acrServiceConnectionUsername: "dadeSchoolsContainerRegistry" + acrServiceConnectionPassword: "k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn" + acrServiceConnectionServer: "dadeschoolscontainerregistry.azurecr.io" steps: - script: | docker-compose -f docker-compose.yml build docker login -u $(acrServiceConnectionUsername) -p $(acrServiceConnectionPassword) $(acrServiceConnectionServer) docker-compose -f docker-compose.yml push displayName: 'Build and Push Docker Compose Project' - env: - acrServiceConnectionUsername: "dadeSchoolsContainerRegistry" - acrServiceConnectionPassword: "k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn" - acrServiceConnectionServer: "dadeschoolscontainerregistry.azurecr.io"