summaryrefslogtreecommitdiff
path: root/scripts/build_assets_image
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2019-03-15 19:07:09 +0530
committerBalasankar "Balu" C <balasankar@gitlab.com>2019-03-15 19:15:54 +0530
commit313022c79ade12b735293bc11a659b6d281bc5ac (patch)
tree22d0e687c2e186c090e6c9591267b26b9c528001 /scripts/build_assets_image
parentde2106998a25b3911ef42196a5dfc0e25294ecc9 (diff)
downloadgitlab-ce-313022c79ade12b735293bc11a659b6d281bc5ac.tar.gz
Use gitlab-ce as default project name in asset image building
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
Diffstat (limited to 'scripts/build_assets_image')
-rwxr-xr-xscripts/build_assets_image6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build_assets_image b/scripts/build_assets_image
index 0388cfa0c29..25b6060b6c4 100755
--- a/scripts/build_assets_image
+++ b/scripts/build_assets_image
@@ -7,10 +7,8 @@ then
fi
# Generate the image name based on the project this is being run in
-if [[ "${CI_PROJECT_NAME}" == "gitlab-ce" ]] || [[ "${CI_PROJECT_NAME}" == "gitlabhq" ]]
-then
- ASSETS_IMAGE_NAME="gitlab-assets-ce"
-elif [[ "${CI_PROJECT_NAME}" == "gitlab-ee" ]]
+ASSETS_IMAGE_NAME="gitlab-assets-ce"
+if [[ "${CI_PROJECT_NAME}" == "gitlab-ee" ]]
then
ASSETS_IMAGE_NAME="gitlab-assets-ee"
fi