Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Santhosh Nair 2023-10-16 03:44:19 +00:00
parent 7935302b2d
commit dadbcf98b9

View File

@ -1,4 +1,4 @@
name: Build & Push to ACR Pipeline # Replace "Build and Push to ACR" with the desired name name: Build & Push to ACR Pipeline
pr: pr:
- '*' - '*'
@ -13,9 +13,9 @@ jobs:
steps: steps:
- checkout: self - checkout: self
- script: | - script: |
docker-compose -f compose-files/docker-compose.sql.yml build docker-compose 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 compose-files/docker-compose.sql.yml push docker-compose push
displayName: 'Build and Push Docker Compose Project' displayName: 'Build and Push Docker Compose Project'
trigger: trigger: