We have built the docker container with node-18.12.0-bullseye. Tried registering the gitlab runner as a shared runner to be open for all projects as well as dedicated runner to specific repo.
Every time I run the job, it throws the following error
We ran into this same issue and it appears to be related to the latest cURL version (8.2.0). We pinned our libcurl and curl versions to 8.0.1 and it fixed the issue we had.
I managed to fix the issue, by adding clone_url as same as url to the config.toml file
Procedure
Rolling the container up only (without registering GitLab Runner via Dockerfile). Only installation of gitlab-runner is being taken care of by Dockerfile, registering gitlab-runner is not included
Get inside container, register the gitlab-runners manually. Once the config.toml file gets created, add the clone_rule: https://example.com