@@ -11,68 +11,10 @@ trigger:
1111 - src/Services/Location/*
1212 - k8s/helm/locations-api/*
1313jobs :
14- - job : BuildLinux
15- pool :
16- vmImage : ' ubuntu-16.04'
17- steps :
18- - task : DockerCompose@0
19- displayName : Compose build locations
20- inputs :
21- dockerComposeCommand : ' build locations.api'
22- containerregistrytype : Container Registry
23- dockerRegistryEndpoint : $(registryEndpoint)
24- dockerComposeFile : docker-compose.yml
25- qualifyImageNames : true
26- projectName : " "
27- dockerComposeFileArgs : |
28- TAG=$(Build.SourceBranchName)
29- - task : DockerCompose@0
30- displayName : Compose push locations
31- inputs :
32- dockerComposeCommand : ' push locations.api'
33- containerregistrytype : Container Registry
34- dockerRegistryEndpoint : $(registryEndpoint)
35- dockerComposeFile : docker-compose.yml
36- qualifyImageNames : true
37- projectName : " "
38- dockerComposeFileArgs : |
39- TAG=$(Build.SourceBranchName)
40- - task : CopyFiles@2
41- inputs :
42- sourceFolder : $(Build.SourcesDirectory)/k8s/helm
43- targetFolder : $(Build.ArtifactStagingDirectory)/k8s/helm
44- - task : PublishBuildArtifacts@1
45- inputs :
46- pathtoPublish : $(Build.ArtifactStagingDirectory)/k8s/helm
47- artifactName : helm
48- - job : BuildWindows
49- pool :
50- vmImage : ' windows-2019'
51- steps :
52- - task : DockerCompose@0
53- displayName : Compose build locations
54- inputs :
55- dockerComposeCommand : ' build locations.api'
56- containerregistrytype : Container Registry
57- dockerRegistryEndpoint : $(registryEndpoint)
58- dockerComposeFile : docker-compose.yml
59- qualifyImageNames : true
60- projectName : " "
61- dockerComposeFileArgs : |
62- TAG=$(Build.SourceBranchName)
63- PLATFORM=win
64- - task : DockerCompose@0
65- displayName : Compose push locations
66- inputs :
67- dockerComposeCommand : ' push locations.api'
68- containerregistrytype : Container Registry
69- dockerRegistryEndpoint : $(registryEndpoint)
70- dockerComposeFile : docker-compose.yml
71- qualifyImageNames : true
72- projectName : " "
73- dockerComposeFileArgs : |
74- TAG=$(Build.SourceBranchName)
75- PLATFORM=win
14+ - template : ../buildimages.yaml
15+ parameters :
16+ services : locations.api
17+ registryEndpoint : $(registryEndpoint)
7618- template : ../multiarch.yaml
7719 parameters :
7820 image : locations.api
0 commit comments