diff --git a/vsts-ci.yml b/vsts-ci.yml new file mode 100644 index 00000000..b92268e1 --- /dev/null +++ b/vsts-ci.yml @@ -0,0 +1,14 @@ +# Docker image +# Build a Docker image to run, deploy, 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/vsts/pipelines/languages/docker + +pool: + vmImage: 'Ubuntu 16.04' + +variables: + imageName: 'your-container-image-name:$(build.buildId)' + +steps: +- script: docker build -f Dockerfile -t $(imageName) . + displayName: 'docker build'