Skip to content

Commit 46ea7e6

Browse files
committed
Set up CI with Azure Pipelines
Testing1 [skip ci]
1 parent e792293 commit 46ea7e6

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

azure-pipelines.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Docker
2+
# Build a Docker image
3+
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
4+
5+
trigger:
6+
- master
7+
8+
resources:
9+
- repo: self
10+
11+
variables:
12+
tag: '$(Build.BuildId)'
13+
14+
stages:
15+
- stage: Build
16+
displayName: Build image
17+
jobs:
18+
- job: Build
19+
displayName: Build
20+
pool:
21+
vmImage: ubuntu-latest
22+
steps:
23+
- task: Docker@2
24+
displayName: Build an image
25+
inputs:
26+
command: build
27+
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
28+
tags: |
29+
$(tag)

0 commit comments

Comments
 (0)