mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-05 00:43:13 -04:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+7
-7
@@ -9,7 +9,7 @@ resources:
|
|||||||
- repo: self
|
- repo: self
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
tag: 'recklessop/$(Build.BuildId)'
|
tag: '$(Build.BuildId)'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
@@ -23,14 +23,14 @@ stages:
|
|||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
displayName: Build an image
|
displayName: Build an image
|
||||||
inputs:
|
inputs:
|
||||||
command: build
|
containerRegistry: 'recklessop-docker-hub'
|
||||||
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
|
repository: 'zerto-exporter'
|
||||||
tags: |
|
command: 'build'
|
||||||
$(tag)
|
Dockerfile: '**/Dockerfile'
|
||||||
|
tags: '$(tag)'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
containerRegistry: 'recklessop-docker-hub'
|
containerRegistry: 'recklessop-docker-hub'
|
||||||
repository: 'zerto-exporter'
|
repository: 'zerto-exporter'
|
||||||
command: 'push'
|
command: 'push'
|
||||||
tags: |
|
tags: '$(tag)'
|
||||||
$(tag)
|
|
||||||
Reference in New Issue
Block a user