Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Santhosh Nair 2023-10-16 03:40:48 +00:00
parent 55e27059e5
commit 7935302b2d

View File

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