ci(azure-pipelines): parametrize release endpoint [skip ci]
This commit is contained in:
parent
f48afbca43
commit
2c7858139a
@ -5,6 +5,9 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: releaseTag
|
- name: releaseTag
|
||||||
type: string
|
type: string
|
||||||
|
- name: releaseEndpoint
|
||||||
|
type: string
|
||||||
|
default: 'devfra'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: test
|
- job: test
|
||||||
@ -29,7 +32,7 @@ jobs:
|
|||||||
displayName: Login to container registry
|
displayName: Login to container registry
|
||||||
inputs:
|
inputs:
|
||||||
command: login
|
command: login
|
||||||
containerRegistry: devfra
|
containerRegistry: '${{ parameters.releaseEndpoint }}'
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build container
|
displayName: Build container
|
||||||
inputs:
|
inputs:
|
||||||
@ -48,4 +51,4 @@ jobs:
|
|||||||
displayName: Logout from container registry
|
displayName: Logout from container registry
|
||||||
inputs:
|
inputs:
|
||||||
command: logout
|
command: logout
|
||||||
containerRegistry: devfra
|
containerRegistry: '${{ parameters.releaseEndpoint }}'
|
||||||
Reference in New Issue
Block a user