mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
18 lines
464 B
YAML
18 lines
464 B
YAML
# Docker image
|
|
# Build a Docker image to deploy, run, or push to a container registry.
|
|
# Add steps that use Docker Compose, tag images, push to a registry, run an image, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
|
|
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'Ubuntu-16.04'
|
|
|
|
variables:
|
|
imageName: 'your-container-image-name:$(build.buildId)'
|
|
|
|
steps:
|
|
- script: docker build -f Dockerfile -t $(imageName) .
|
|
displayName: 'docker build'
|