O Que É CI_PROJECT_PATH?
CI_PROJECT_PATH é o path completo namespace/project do repositório.
CI_PROJECT_PATH é o que você usa para montar nomes de imagem do registry e URLs de clone que incluem o grupo.
Exemplo
Referencie o path da imagem no registry.
shell
echo "${CI_REGISTRY}/${CI_PROJECT_PATH}"Principais conclusões
- CI_PROJECT_PATH é
namespace/project. - Usado para paths de registry e clone.
- CI_PROJECT_PATH_SLUG é seguro em URLs.
Guias relacionados
What Is CI_PROJECT_NAME?CI_PROJECT_NAME is the name of the GitLab project running a pipeline. Learn how it differs from the path.
What Is CI_REGISTRY_IMAGE?CI_REGISTRY_IMAGE is the base image path for a project in the GitLab Container Registry. Learn how to tag ima…
What Is CI_PROJECT_ID?CI_PROJECT_ID is the unique numeric ID of a GitLab project in CI. Learn how to use it in API calls.