From dc942b2f4c9269ddda02216388707b92588636eb Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 12 May 2021 20:37:55 +0200 Subject: [PATCH] outposts: build as gh- Signed-off-by: Jens Langhammer --- outpost/azure-pipelines.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/outpost/azure-pipelines.yml b/outpost/azure-pipelines.yml index a17cdf95f..0417353bd 100644 --- a/outpost/azure-pipelines.yml +++ b/outpost/azure-pipelines.yml @@ -116,7 +116,9 @@ stages: command: 'buildAndPush' Dockerfile: 'outpost/proxy.Dockerfile' buildContext: 'outpost/' - tags: "gh-$(branchName)" + tags: | + gh-$(branchName) + gh-$(Build.SourceVersion) arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)' - job: ldap_build_docker pool: @@ -142,5 +144,7 @@ stages: command: 'buildAndPush' Dockerfile: 'outpost/ldap.Dockerfile' buildContext: 'outpost/' - tags: "gh-$(branchName)" + tags: | + gh-$(branchName) + gh-$(Build.SourceVersion) arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'