Skip to content

Commit

Permalink
Set up CI with Azure Pipelines [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Apr 3, 2019
1 parent d92ad7e commit 27ffaf4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Docker image
# Build a Docker image to deploy, run, or push to a container registry.
# Add steps that use Docker Compose, tag images, push to a registry, run an image, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker

trigger:
- master

pool:
vmImage: 'Ubuntu-16.04'

variables:
imageName: 'your-container-image-name:$(build.buildId)'

steps:
- script: docker build -f Dockerfile -t $(imageName) .
displayName: 'docker build'

0 comments on commit 27ffaf4

Please sign in to comment.