From a1afec0a1fe668fd7310f21936d4d9457eed0757 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sat, 28 Jan 2023 11:55:18 -0500 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c4d09a..3287a3d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,16 +21,8 @@ stages: vmImage: ubuntu-latest steps: - task: Docker@2 - displayName: Build an image inputs: containerRegistry: 'recklessop-docker-hub' repository: 'zerto-exporter' - command: 'build' - Dockerfile: '**/Dockerfile' - tags: '$(tag)' - - task: Docker@2 - inputs: - containerRegistry: 'recklessop-docker-hub' - repository: 'zerto-exporter' - command: 'push' - tags: '$(tag)' \ No newline at end of file + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' \ No newline at end of file