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:
+7
-17
@@ -10,20 +10,10 @@ resources:
|
||||
|
||||
variables:
|
||||
tag: 'recklessop/$(Build.BuildId)'
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
displayName: Build image
|
||||
jobs:
|
||||
- job: Build
|
||||
displayName: Build
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
steps:
|
||||
- task: Docker@2
|
||||
displayName: Build an image
|
||||
inputs:
|
||||
command: build
|
||||
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
|
||||
tags: |
|
||||
$(tag)
|
||||
|
||||
- task: Docker@2
|
||||
inputs:
|
||||
containerRegistry: 'recklessop-docker-hub'
|
||||
repository: 'zerto-exporter'
|
||||
command: 'buildAndPush'
|
||||
Dockerfile: '**/Dockerfile'
|
||||
Reference in New Issue
Block a user