ci(azure-pipelines): parametrize image builds
This commit is contained in:
parent
18585db1aa
commit
91273e57eb
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
pool: 'Prod Private Agent Pool'
|
pool: 'Prod Private Agent Pool'
|
||||||
|
|
||||||
|
variables:
|
||||||
|
FRADRIVE_IMAGE_UPSTREAM: devfra.azurecr.io/de.fraport.fradrive.build
|
||||||
|
IMAGE_LATEST_RETAG_BRANCH: 'refs/head/master'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: FrontendImage
|
- job: FrontendImage
|
||||||
container:
|
container:
|
||||||
@ -33,7 +37,8 @@ jobs:
|
|||||||
--build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ \
|
--build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ \
|
||||||
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
||||||
--build-arg PROJECT_DIR=/fradrive \
|
--build-arg PROJECT_DIR=/fradrive \
|
||||||
--tag devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber) \
|
--build-arg IN_CI=true \
|
||||||
|
--tag ${{FRADRIVE_IMAGE_UPSTREAM}}/frontend:$(Build.BuildNumber) \
|
||||||
.
|
.
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Push frontend image
|
displayName: Push frontend image
|
||||||
|
|||||||
Reference in New Issue
Block a user