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