Commit 4886f977 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 84491d0e 8bc24745
...@@ -7,14 +7,11 @@ then ...@@ -7,14 +7,11 @@ then
fi fi
# Generate the image name based on the project this is being run in # Generate the image name based on the project this is being run in
ASSETS_IMAGE_NAME=$(echo ${CI_PROJECT_NAME} | ASSETS_IMAGE_NAME="gitlab-assets-ce"
awk '{ if [[ "${CI_PROJECT_NAME}" == "gitlab-ee" ]]
split($1, p, "-"); then
interim = sprintf("%s-assets-%s", p[1], p[2]); ASSETS_IMAGE_NAME="gitlab-assets-ee"
sub(/-$/, "", interim); fi
print interim
}'
)
ASSETS_IMAGE_PATH=${CI_REGISTRY}/${CI_PROJECT_PATH}/${ASSETS_IMAGE_NAME} ASSETS_IMAGE_PATH=${CI_REGISTRY}/${CI_PROJECT_PATH}/${ASSETS_IMAGE_NAME}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment