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