How to add gitlab Container Registry in Harness

If you want to use an artifact from gitlab container registry within the harness service.

First you need to create a docker registry connector and then you can add Artifact Source as Docker Registry within your Harness Service.

  1. Create a Docker type connector under artifact server
    Docker Registry URL:

Once the test is successful click on submit and navigate to the service where you need to use the gitlab registry as an artifact source.

  1. You can select the connector created as above in source server and under Image you can use
    Docker Image Name* : {username}/{project}

Once you add you will able to see the artifact will be collected under Artifact History