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.gitlab.com
Once you log in, you’re free to create and upload a container image using the common
docker build -t registry.gitlab.com/vincentvdk/ansible-k8s-atomic . docker push registry.gitlab.com/vincentvdk/ansible-k8s-atomic
Use different image names
GitLab supports up to 3 levels of image names. The following examples of images are valid for your project:
registry.gitlab.com/vincentvdk/ansible-k8s-atomic:tag registry.gitlab.com/vincentvdk/ansible-k8s-atomic/optional-image-name:tag registry.gitlab.com/vincentvdk/ansible-k8s-atomic/optional-name/optional-image-name:tag