I have docker template to build and publish my image in Subscription A if branch is not hotfix/release, now if I want to build image from release or hotfix branch, but build should be done in subscription B.
I need to keep conditions on job if build is from branch release or hotfix it should implement second template below.
In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for any confusion resulting from this move.
Hi All,
I have docker template to build and publish my image in Subscription A if branch is not hotfix/release, now if I want to build image from release or hotfix branch, but build should be done in subscription B.
I need to keep conditions on job if build is from branch release or hotfix it should implement second template below.
job: 'Build_and_publish_dockerImage' variables: dockerImageExist: $[ dependencies.Check_microservice_image_in_acr.outputs['GetImageTag.imageExist'] ] condition: | or( ?????????? ) steps:
template: ../templates/template-publish-docker-image-dev.yaml parameters: imageTag: $(imageTag)
template: ../templates/template-publish-docker-image-nondev.yaml parameters: imageTag: $(imageTag)