mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-06 17:23:14 -04:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+5
-15
@@ -11,19 +11,9 @@ resources:
|
|||||||
variables:
|
variables:
|
||||||
tag: 'recklessop/$(Build.BuildId)'
|
tag: 'recklessop/$(Build.BuildId)'
|
||||||
|
|
||||||
stages:
|
- task: Docker@2
|
||||||
- stage: Build
|
|
||||||
displayName: Build image
|
|
||||||
jobs:
|
|
||||||
- job: Build
|
|
||||||
displayName: Build
|
|
||||||
pool:
|
|
||||||
vmImage: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- task: Docker@2
|
|
||||||
displayName: Build an image
|
|
||||||
inputs:
|
inputs:
|
||||||
command: build
|
containerRegistry: 'recklessop-docker-hub'
|
||||||
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
|
repository: 'zerto-exporter'
|
||||||
tags: |
|
command: 'buildAndPush'
|
||||||
$(tag)
|
Dockerfile: '**/Dockerfile'
|
||||||
Reference in New Issue
Block a user