With the Docker Container Registry integrated into GitLab, every project can have its own space to store its Docker images.
Learn more about Container Registry.
How to use the Container Registry
First log in to GitLab’s Container Registry using your GitLab username and password. If you have 2FA enabled you need to use a personal access token:
docker login monsoon-gitlab.iti.gr:5005
You can also use a deploy token for read-only access to the registry images.
Once you log in, you’re free to create and upload a container image using the common
docker build -t monsoon-gitlab.iti.gr:5005/datalab/monsoon_ansible . docker push monsoon-gitlab.iti.gr:5005/datalab/monsoon_ansible
Use different image names
GitLab supports up to 3 levels of image names. The following examples of images are valid for your project:
monsoon-gitlab.iti.gr:5005/datalab/monsoon_ansible:tag monsoon-gitlab.iti.gr:5005/datalab/monsoon_ansible/optional-image-name:tag monsoon-gitlab.iti.gr:5005/datalab/monsoon_ansible/optional-name/optional-image-name:tag