From e80a16363249af99b0a11775c27431db2c38aa0d Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Mon, 3 Sep 2018 09:56:58 +0000 Subject: [PATCH] Set up CI with VSTS Pipelines --- vsts-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vsts-ci.yml 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'