Expose`CI_REGISTRY`, `CI_REGISTRY_IMAGE`, `CI_PROJECT_NAME`, `CI_PROJECT_PATH` to CI as environment variables
Description including problem, use cases, benefits, and/or goals
It would be nice to have the image name (e.g. registry.gitlab.com/gitlab-org/gitlab-ci-multi-runner) and the registry url (for docker login) in environment variables in the CI build. I'd like to avoid hardcoding them, but I can only get the project name from CI_BUILD_REPO.
Proposal
-
CI_PROJECT_NAME=gitlab-ci-multi-runner -
CI_PROJECT_PATH=gitlab-org/gitlab-ci-multi-runner -
CI_PROJECT_URL=https://gitlab.com/gitlab-org/gitlab-ci-multi-runner -
CI_REGISTRY=registry.gitlab.com -
CI_REGISTRY_IMAGE= registry.gitlab.com/gitlab-org/gitlab-ci-multi-runner