Visitar URL original
Set up CI with Azure Pipelines · dockerfile/java@61b6839 · GitHub
Skip to content

Commit 61b6839

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 926218e commit 61b6839

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎azure-pipelines.yml‎

Lines changed: 29 additions & 0 deletions
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)