From 84d9bc777c0706c4f6367b3ff59911250d144af9 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sat, 28 Jan 2023 11:33:47 -0500 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7710d1e..e7e0de5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,9 +28,8 @@ stages: tags: | $(tag) - task: Docker@2 - displayName: Build and Push a Docker Hub Image inputs: containerRegistry: 'recklessop-docker-hub' repository: 'zerto-exporter' - command: 'buildAndPush' - Dockerfile: '**/Dockerfile' \ No newline at end of file + command: 'push' + tags: '$(Build.BuildId)' \ No newline at end of file