Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
55e27059e5
commit
7935302b2d
@ -1,3 +1,5 @@
|
|||||||
|
name: Build & Push to ACR Pipeline # Replace "Build and Push to ACR" with the desired name
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
@ -11,9 +13,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
- script: |
|
- 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 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'
|
displayName: 'Build and Push Docker Compose Project'
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
Loading…
Reference in New Issue
Block a user