From e64d88ff4bb9dc899103356ac185933c290c5910 Mon Sep 17 00:00:00 2001 From: Braga Lund Date: Tue, 30 Nov 2021 21:25:47 +0100 Subject: [PATCH] Added tags in step --- azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 008371f..36c5833 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,18 +7,20 @@ steps: displayName: Build and Push Frontend inputs: containerRegistry: 'dockerRegistryServiceConnection1' - repository: 'bragalund/bragalund-public:frontend' + repository: 'bragalund/bragalund-public' command: 'buildAndPush' Dockerfile: 'frontend/Dockerfile' + tags: 'frontend' - task: Docker@2 displayName: Build and Push Backend inputs: containerRegistry: 'dockerRegistryServiceConnection1' - repository: 'bragalund/bragalund-public:backend' + repository: 'bragalund/bragalund-public' command: 'buildAndPush' Dockerfile: 'backend/Dockerfile' - + tags: 'backend' + - task: Docker@2 displayName: Logout of ACR inputs: