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