mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-02 23:53:13 -04:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+11
-1
@@ -20,10 +20,20 @@ stages:
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
steps:
|
||||
- task: Docker@2
|
||||
inputs:
|
||||
containerRegistry: 'recklessop-docker-hub'
|
||||
command: 'login'
|
||||
- task: Docker@2
|
||||
inputs:
|
||||
containerRegistry: 'recklessop-docker-hub'
|
||||
repository: 'zerto-exporter'
|
||||
command: 'buildAndPush'
|
||||
Dockerfile: '**/Dockerfile'
|
||||
tags: 'recklessop/zerto-exporter:$(Build.BuildId)'
|
||||
tags: |
|
||||
$(Build.BuildId)
|
||||
latest
|
||||
- task: Docker@2
|
||||
inputs:
|
||||
containerRegistry: 'recklessop-docker-hub'
|
||||
command: 'logout'
|
||||
Reference in New Issue
Block a user