From 1f62a3f103043929e7932694713f620194340a76 Mon Sep 17 00:00:00 2001 From: Braga Lund Date: Thu, 11 Nov 2021 18:11:27 +0100 Subject: [PATCH] Added pipeline file --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml 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' +