Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 00b59e7

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent e8f4cfd commit 00b59e7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

azure-pipelines.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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: '**/Dockerfile'
28+
tags: |
29+
latest
30+
$(tag)

0 commit comments

Comments
 (0)