From e1945bcf1c96dd00a348aa46105c75faa5a4dbd8 Mon Sep 17 00:00:00 2001 From: Samir Patel <48686912+54mir@users.noreply.github.com> Date: Thu, 21 Oct 2021 14:20:51 -0500 Subject: [PATCH] change commit name to commit slug --- .gitlab/.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index f8cd0e7ba..9fa49644a 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -139,7 +139,7 @@ build container fb: - docker login -u $DOCKER_DEPLOY_USER -p $DOCKER_DEPLOY_TOKEN $CI_REGISTRY_IMAGE script: # - mv featurebase_linux_amd64 .gitlab/ - - tag=$CI_REGISTRY_IMAGE/server:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA + - tag=$CI_REGISTRY_IMAGE/server:$CI_COMMIT_REF_SLUG_$CI_COMMIT_SHORT_SHA - docker build --build-arg GO_VERSION=$GOVERSION -t $tag -f .gitlab/Dockerfile . - docker push $tag - echo Created docker featurebase image with tag "$tag"