Browse Source

Add Azure Pipelines CI

pull/208/head
Clemens Wolff 5 years ago
parent
commit
0965baa55f
1 changed files with 13 additions and 0 deletions
  1. 13
      azure-pipelines.yaml

13
azure-pipelines.yaml

@ -0,0 +1,13 @@
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: docker build --target=builder .
displayName: 'Run tests'
- script: DOCKER_PASSWORD="$(docker_password)" tools/cd.sh "azdo-$(Build.BuildId)"
displayName: 'Push docker image'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['docker_password'], ''))
Loading…
Cancel
Save