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