GitLab container registry
The registry built into each GitLab project that stores its container images, addressed by CI_REGISTRY_IMAGE.
In more detail
Jobs log in with the predefined registry user and password and push images tagged, for example, with the commit's short SHA. Cleanup policies delete old tags on a schedule.
Related terms
- predefined CI/CD variables — Variables GitLab sets in every job, such as CI_COMMIT_BRANCH, CI_COMMIT_SHA and CI_REGISTRY_IMAGE, describing the pipeline, the commit and the project.
- Docker-in-Docker — Running a Docker daemon as a job service (docker:dind) so a job can build and push container images with docker commands.
- package registry — The registry in each GitLab project that stores packages such as npm, PyPI, Maven and generic files.
Taught in
- From Push To Runner: How GitLab Starts A Pipeline — GitLab Certified CI/CD Associate Exam Prep
- Anatomy Of .gitlab-ci.yml, And Three Ways To Check It — GitLab Certified CI/CD Associate Exam Prep
- Environments, Review Apps And Deployments — GitLab Certified CI/CD Associate Exam Prep
- The Container Registry: Build, Tag, Push, Clean Up — GitLab Certified CI/CD Associate Exam Prep