ci(azure-pipelines): move variables decl to main yaml
This commit is contained in:
parent
3122a36ac8
commit
60626cd841
@ -11,11 +11,6 @@ parameters:
|
||||
baseImageTag: baseImageTag
|
||||
extraBuildOptions: '\'
|
||||
|
||||
variables:
|
||||
imageUpstream: devfra.azurecr.io/de.fraport.fradrive.build
|
||||
onMasterBranch: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
|
||||
onUpdateBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/update')]
|
||||
|
||||
jobs:
|
||||
- job: ImageBuild_${{parameters.service.name}}
|
||||
displayName: Build ${{parameters.service.name}} image
|
||||
|
||||
@ -12,6 +12,11 @@ parameters:
|
||||
extraBuildOptions: |
|
||||
--build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ \
|
||||
|
||||
variables:
|
||||
imageUpstream: devfra.azurecr.io/de.fraport.fradrive.build
|
||||
onMasterBranch: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
|
||||
onUpdateBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/update')]
|
||||
|
||||
pool: 'Prod Private Agent Pool'
|
||||
|
||||
jobs:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user