mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-05 08:43:14 -04:00
Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
# Docker
|
||||||
|
# Build a Docker image
|
||||||
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- repo: self
|
||||||
|
|
||||||
|
variables:
|
||||||
|
tag: '$(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)
|
||||||
Reference in New Issue
Block a user