From 981add22da17b96439b6caa62841acd8e69dfbd4 Mon Sep 17 00:00:00 2001 From: Domenico DiNicola Date: Thu, 30 Jan 2020 13:24:42 -0500 Subject: [PATCH] azure-pipelines --- azure-pipelines.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..107b7312 --- /dev/null +++ b/azure-pipelines.yml @@ -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