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:
|
pool:
|
||||||
vmImage: ubuntu-latest
|
vmImage: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- task: Docker@2
|
||||||
|
inputs:
|
||||||
|
containerRegistry: 'recklessop-docker-hub'
|
||||||
|
command: 'login'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
containerRegistry: 'recklessop-docker-hub'
|
containerRegistry: 'recklessop-docker-hub'
|
||||||
repository: 'zerto-exporter'
|
repository: 'zerto-exporter'
|
||||||
command: 'buildAndPush'
|
command: 'buildAndPush'
|
||||||
Dockerfile: '**/Dockerfile'
|
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