Registering the Docker Image
Last updated
Last updated
The container registration must be exected within the project repository that wishes to invoke iCR as part of a CI/CD workflow. From the browser, login to GitLab and navigate to the desired repository. In our case we are using the sample project baritone
.
Once there, use the menu on the left to select “Packages and Registries” and then “Container Registry”
This opens the Container Registry page for the baritone project:
Notice that, in this example, there are no currently registered containers for baritone
. To register our iCR Docker container we first need to login to the GitLab supported container registry. To accomplish this, enter the command:
docker login registry.gitlab.com
Once logged in, you can now register the Docker image that was prepared earlier into the project registry using the command:
Now we see that the container is listed among the available registered containers: