root: fix hash for docker build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
07ca82e599
commit
ce555aa5e9
|
@ -384,7 +384,7 @@ stages:
|
||||||
command: 'build'
|
command: 'build'
|
||||||
Dockerfile: 'Dockerfile'
|
Dockerfile: 'Dockerfile'
|
||||||
tags: 'gh-$(branchName)'
|
tags: 'gh-$(branchName)'
|
||||||
arguments: '--build-arg GIT_BUILD_HASH=$(git rev-parse HEAD)'
|
arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
containerRegistry: 'beryjuorg-harbor'
|
containerRegistry: 'beryjuorg-harbor'
|
||||||
|
|
Reference in New Issue