-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines-docker.yml
70 lines (68 loc) · 1.87 KB
/
azure-pipelines-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
trigger:
branches:
include:
- master
pool:
vmImage: 'ubuntu-latest'
stages:
- stage: Build
displayName: Build Docker images
jobs:
- job: Build
displayName: Build and push Docker images
steps:
- task: Docker@2
displayName: Build GraphQL Image
inputs:
containerRegistry: 'Docker Hub'
repository: 'sheaft/sheaft.graphql'
command: 'buildAndPush'
Dockerfile: '**/Sheaft.Web.Api/Dockerfile'
buildContext: '.'
tags: |
dev-$(Build.SourceVersion)
latest
- task: Docker@2
displayName: Build Jobs Image
inputs:
containerRegistry: 'Docker Hub'
repository: 'sheaft/sheaft.jobs'
command: 'buildAndPush'
Dockerfile: '**/Sheaft.Web.Jobs/Dockerfile'
buildContext: '.'
tags: |
dev-$(Build.SourceVersion)
latest
- task: Docker@2
displayName: Build Manage Image
inputs:
containerRegistry: 'Docker Hub'
repository: 'sheaft/sheaft.manage'
command: 'buildAndPush'
Dockerfile: '**/Sheaft.Web.Manage/Dockerfile'
buildContext: '.'
tags: |
dev-$(Build.SourceVersion)
latest
- task: Docker@2
displayName: Build Signalr Image
inputs:
containerRegistry: 'Docker Hub'
repository: 'sheaft/sheaft.signalr'
command: 'buildAndPush'
Dockerfile: '**/Sheaft.Web.Signalr/Dockerfile'
buildContext: '.'
tags: |
dev-$(Build.SourceVersion)
latest
- task: Docker@2
displayName: Build Payment Image
inputs:
containerRegistry: 'Docker Hub'
repository: 'sheaft/sheaft.payment'
command: 'buildAndPush'
Dockerfile: '**/Sheaft.Web.Payment/Dockerfile'
buildContext: '.'
tags: |
dev-$(Build.SourceVersion)
latest