diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..d4032b8 --- /dev/null +++ b/azure-pipelines.yml @@ -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'