O Que É CI_REGISTRY?
CI_REGISTRY é o hostname do GitLab Container Registry da instância.
CI_REGISTRY, junto com CI_JOB_TOKEN, permite que um job se autentique e envie imagens sem armazenar credenciais do registry.
Login
Autentique-se usando o job token.
shell
docker login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY}Principais conclusões
- CI_REGISTRY é o hostname do registry.
- Combina com CI_JOB_TOKEN para fazer login.
- Nenhuma credencial armazenada é necessária.
Guias relacionados
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_JOB_TOKEN?CI_JOB_TOKEN is a short-lived token GitLab CI jobs use to authenticate to GitLab. Learn what it can and canno…
What Is a Container Registry? Where Images LiveA container registry stores and distributes images by repository and tag. Learn how push and pull work, what…