Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
d3cf6a63e5
commit
0dd6d3b1e3
@ -9,13 +9,15 @@ pool:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: 'BuildAndPush'
|
- job: 'BuildAndPush'
|
||||||
env:
|
pool:
|
||||||
acrServiceConnectionUsername: "dadeSchoolsContainerRegistry"
|
vmImage: 'ubuntu-latest'
|
||||||
acrServiceConnectionPassword: "k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn"
|
|
||||||
acrServiceConnectionServer: "dadeschoolscontainerregistry.azurecr.io"
|
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
docker-compose -f docker-compose.yml build
|
docker-compose -f docker-compose.yml build
|
||||||
docker login -u $(acrServiceConnectionUsername) -p $(acrServiceConnectionPassword) $(acrServiceConnectionServer)
|
docker login -u $(acrServiceConnectionUsername) -p $(acrServiceConnectionPassword) $(acrServiceConnectionServer)
|
||||||
docker-compose -f docker-compose.yml push
|
docker-compose -f docker-compose.yml push
|
||||||
displayName: 'Build and Push Docker Compose Project'
|
displayName: 'Build and Push Docker Compose Project'
|
||||||
|
env:
|
||||||
|
acrServiceConnectionUsername: "dadeSchoolsContainerRegistry"
|
||||||
|
acrServiceConnectionPassword: "k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn"
|
||||||
|
acrServiceConnectionServer: "dadeschoolscontainerregistry.azurecr.io"
|
||||||
|
Loading…
Reference in New Issue
Block a user