From 4919283f59359e3075e893a1e5f0430fa9135a1a Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sat, 28 Jan 2023 12:40:02 -0500 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c64cab3..445a1d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,10 +21,7 @@ stages: vmImage: ubuntu-latest steps: - task: Docker@2 - inputs: - containerRegistry: 'recklessop-docker-hub' - command: 'login' - - task: Docker@2 + displayName: Build and Push Image inputs: containerRegistry: 'recklessop-docker-hub' repository: 'recklessop/zerto-exporter' @@ -32,8 +29,4 @@ stages: Dockerfile: '**/Dockerfile' tags: | $(Build.BuildId) - latest - - task: Docker@2 - inputs: - containerRegistry: 'recklessop-docker-hub' - command: 'logout' \ No newline at end of file + latest \ No newline at end of file