Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
3ac36bf86f
commit
55e27059e5
@ -1,8 +1,3 @@
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- docker-branch # Change this to your preferred branch or trigger
|
||||
|
||||
pr:
|
||||
- '*'
|
||||
|
||||
@ -14,9 +9,14 @@ jobs:
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- checkout: self
|
||||
- script: |
|
||||
docker-compose -f docker-compose.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
|
||||
displayName: 'Build and Push Docker Compose Project'
|
||||
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- docker-branch
|
||||
|
Loading…
Reference in New Issue
Block a user