Skip to content

Commit

Permalink
azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Mar 9, 2020
1 parent 75cd215 commit e745fbb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
trigger:
- feature/azure-pipelines

pool:
vmImage: 'Ubuntu-16.04'

variables:
# imageName: 'unicef/donor-reporting-portal-backend'
imageName: 'scs-drp-be'
dockerHub: 'uniwebsscsdrpdev'

steps:
- task: Docker@2
displayName: Build an image
inputs:
repository: $(imageName)
command: build
Dockerfile: docker/Dockerfile
buildContext: .

#- task: Docker@2
# displayName: Push image
# inputs:
# containerRegistry: |
# $(dockerHub)
# repository: $(imageName)
# command: push
# tags: |
# $(Build.BuildId)
# latest

0 comments on commit e745fbb

Please sign in to comment.