root: fix hash for docker build

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-16 16:45:53 +01:00
parent 07ca82e599
commit ce555aa5e9
1 changed files with 1 additions and 1 deletions

View File

@ -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'