ci(azure-pipelines): move variables decl to main yaml

This commit is contained in:
Sarah Vaupel 2025-01-21 16:31:34 +01:00
parent 3122a36ac8
commit 60626cd841
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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: