With the Docker Container Registry integrated into GitLab, every project can have its own space to store its Docker images.
How to use the Container Registry
docker login registry.electrolab.fr
Once you log in, you’re free to create and upload a container image using the common
docker build -t registry.electrolab.fr/common/electrolab_cards . docker push registry.electrolab.fr/common/electrolab_cards
Use different image names
GitLab supports up to 3 levels of image names. The following examples of images are valid for your project:
registry.electrolab.fr/common/electrolab_cards:tag registry.electrolab.fr/common/electrolab_cards/optional-image-name:tag registry.electrolab.fr/common/electrolab_cards/optional-name/optional-image-name:tag