diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..ec5d658 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +trigger: + - master + +steps: + +- task: Docker@2 + displayName: Build and Push + inputs: + containerRegistry: 'dockerRegistryServiceConnection1' + repository: 'bragalund/bragalund-public' + command: 'buildAndPush' + Dockerfile: 'Dockerfile' + +- task: Docker@2 + displayName: Logout of ACR + inputs: + command: logout + containerRegistry: 'dockerRegistryServiceConnection1' +