DamageAssessment_Backend/DamageAssesmentApi/azure-pipelines.yml
2023-10-16 03:40:48 +00:00

25 lines
653 B
YAML

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