DamageAssessment_Backend/DamageAssesmentApi/azure-pipelines.yml

26 lines
594 B
YAML
Raw Normal View History

name: Build & Push to ACR Pipeline
2023-10-13 17:28:15 -05:00
pr:
- '*'
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: 'BuildAndPush'
pool:
vmImage: 'ubuntu-latest'
2023-10-13 17:28:15 -05:00
steps:
- checkout: self
2023-10-13 17:28:15 -05:00
- script: |
export DOCKER_CLI_CONTEXT=default
docker-compose -f **/docker-compose.yml build
docker login -u dadeSchoolsContainerRegistry -p k1f8hE0O5hj3tYCCR/5stNrkw5BZoTmAqid/hvaVo8+ACRDc2Arn dadeschoolscontainerregistry.azurecr.io
docker-compose -f **/docker-compose.yml push
2023-10-13 17:28:15 -05:00
displayName: 'Build and Push Docker Compose Project'
trigger:
branches:
include:
- docker-branch