From 7935302b2d31c112af057590519e23086803e403 Mon Sep 17 00:00:00 2001 From: Santhosh Nair <913441@dadeschools.net> Date: Mon, 16 Oct 2023 03:40:48 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- DamageAssesmentApi/azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DamageAssesmentApi/azure-pipelines.yml b/DamageAssesmentApi/azure-pipelines.yml index 996f9db..4ee7e7b 100644 --- a/DamageAssesmentApi/azure-pipelines.yml +++ b/DamageAssesmentApi/azure-pipelines.yml @@ -1,3 +1,5 @@ +name: Build & Push to ACR Pipeline # Replace "Build and Push to ACR" with the desired name + pr: - '*' @@ -11,9 +13,9 @@ jobs: steps: - checkout: self - script: | - docker-compose -f docker-compose.yml build + docker-compose -f compose-files/docker-compose.sql.yml build docker login -u "$(dadeSchoolsContainerRegistry)" -p "$(k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn)" "dadeschoolscontainerregistry.azurecr.io" - docker-compose -f docker-compose.yml push + docker-compose -f compose-files/docker-compose.sql.yml push displayName: 'Build and Push Docker Compose Project' trigger: