DamageAssessment_Backend/DamageAssesmentApi/azure-pipelines.yml
2023-10-16 03:44:19 +00:00

25 lines
516 B
YAML

name: Build & Push to ACR Pipeline
pr:
- '*'
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: 'BuildAndPush'
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: self
- script: |
docker-compose build
docker login -u "$(dadeSchoolsContainerRegistry)" -p "$(k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn)" "dadeschoolscontainerregistry.azurecr.io"
docker-compose push
displayName: 'Build and Push Docker Compose Project'
trigger:
branches:
include:
- docker-branch