We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e58dd commit 1e1b0ecCopy full SHA for 1e1b0ec
azure-pipelines.yml
@@ -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: '**/Dockerfile'
28
+ tags: |
29
+ $(tag)
0 commit comments