ci(azure-pipelines): parametrize release endpoint [skip ci]
This commit is contained in:
parent
f48afbca43
commit
2c7858139a
@ -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
|
||||
containerRegistry: '${{ parameters.releaseEndpoint }}'
|
||||
Loading…
Reference in New Issue
Block a user