ci(azure-pipelines): use build container for Build jobs
This commit is contained in:
parent
11b17ab1e2
commit
517144c0cf
@ -81,6 +81,14 @@ stages:
|
|||||||
- job: Build_${{service.name}}
|
- job: Build_${{service.name}}
|
||||||
displayName: Compile ${{service.name}}
|
displayName: Compile ${{service.name}}
|
||||||
dependsOn: ${{service.dependsOn}}
|
dependsOn: ${{service.dependsOn}}
|
||||||
|
container:
|
||||||
|
# TODO: do not use latest on update branches
|
||||||
|
image: $(buildImageUpstream)/${{service.name}}:latest
|
||||||
|
endpoint: devfra
|
||||||
|
env:
|
||||||
|
PROJECT_DIR: $(Build.Repository.LocalPath)
|
||||||
|
IN_CONTAINER: true
|
||||||
|
IN_CI: true
|
||||||
steps:
|
steps:
|
||||||
- template: .azure-pipelines/templates/steps/make.yaml
|
- template: .azure-pipelines/templates/steps/make.yaml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
Reference in New Issue
Block a user