Skip to content

Use CI_PROJECT_NAME for deploying test images to GitLab registry (!27)

Matthew Feickert requested to merge revise/use-CI_PROJECT_NAME into master

Resolves #22 (closed)

Using CI_PROJECT_NAME makes the project much more easy to work with in forks

In the CI for the main project the variables take on the following values

# For the main project this is deploying TO: ${CI_REGISTRY}/aml/containers/docker/${IMAGE_NAME}
$ echo "${CI_PROJECT_NAMESPACE}"
aml/containers
$ echo "${CI_PROJECT_NAME}"
docker
$ echo "${CI_PROJECT_PATH}"
aml/containers/docker

CI_PROJECT_PATH could be used as well, but for transparency in what is happening in the CI_PROJECT_NAMESPACE and CI_PROJECT_NAME are used together instead.

Edited by Matthew Feickert

Merge request reports