From 2c7858139a5866d1c7cb84fa31045b115be8629f Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 5 Feb 2025 11:40:30 +0100 Subject: [PATCH] ci(azure-pipelines): parametrize release endpoint [skip ci] --- .azure-pipelines/templates/release.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/templates/release.yaml b/.azure-pipelines/templates/release.yaml index 6afaf9439..458585658 100644 --- a/.azure-pipelines/templates/release.yaml +++ b/.azure-pipelines/templates/release.yaml @@ -5,6 +5,9 @@ parameters: - name: releaseTag type: string + - name: releaseEndpoint + type: string + default: 'devfra' jobs: - job: test @@ -29,7 +32,7 @@ jobs: displayName: Login to container registry inputs: command: login - containerRegistry: devfra + containerRegistry: '${{ parameters.releaseEndpoint }}' - task: Bash@3 displayName: Build container inputs: @@ -48,4 +51,4 @@ jobs: displayName: Logout from container registry inputs: command: logout - containerRegistry: devfra \ No newline at end of file + containerRegistry: '${{ parameters.releaseEndpoint }}' \ No newline at end of file