The site that you are currently viewing is a static version of the Software Factory documentation delivered with the

version v7.2.
For up-to-date documentation, see the latest version.

Registry

Store and manage Docker images and packages with GitLab Container Registry and Package Registry for secure CI/CD integration

GitLab registry

Overview of Registry

The GitLab Registry is a private registry for storing and managing Docker images and other formats.

It’s built into GitLab. This makes it easy to integrate container image management into your CI/CD workflows.

  • Store Docker images: Securely store your Docker images within your GitLab project.
  • CI/CD integration: Build and push images as part of your CI/CD pipelines.
  • Access control: Control who can access and use your images.

✅ Use the GitLab Registry to manage your container images and streamline your deployment process.

Types of registries available

the Container Registry

Understanding GitLab Container Registry

The GitLab Container Registry is a secure and integrated Docker container registry that allows users to build, store, and manage Docker images right within GitLab.

It provides a centralized place to manage container images. This makes it easier for teams to share and deploy applications.

Use Cases for Container Registry:

  • Microservices Architecture: Manage and deploy individual microservices as separate container images. This enhances flexibility and scalability.
  • Version Control: Keep track of different versions of container images. This enables rollbacks and management of application versions.
  • Cross-team Collaboration: Share and reuse container images across different teams and projects. This promotes consistency and reduces duplication of effort.

✅ You can find some recommendations about naming convention and others practices in GitLab documentation.

GitLab Package Registry

The GitLab Package Registry is a package management solution integrated within GitLab. It allows users to publish, share, and manage packages alongside their source code and CI/CD pipelines.

It supports multiple package formats and provides a unified interface to handle dependencies efficiently.

Supported Package Types

The GitLab Package Registry supports a variety of package formats. This makes it versatile for different development needs. The supported package types include:

  • Maven: For managing Java-based project dependencies.
  • npm: For managing JavaScript packages.
  • Conan: For managing C/C++ dependencies.
  • NuGet: For managing .NET packages.
  • PyPI: For managing Python packages.
  • Generic Packages: For handling other custom or unmanaged package types.

These supported formats enable teams to integrate their existing ecosystem and workflows with GitLab.