I am unable to register my gitlab runner. I have a project that I am working on, and for this project we wanted to have a CI/CD pipeline. I followed the instructions on the page and installed a runner successfully, but as soon as I am trying to register my runner, here is the error message i receive
sudo gitlab-runner register
Running in system-mode.
https://gitlab.com/ci
Please enter the gitlab-ci token for this runner:
{Token}
Please enter the gitlab-ci description for this runner:
[genesis]: SPN CI
Please enter the gitlab-ci tags for this runner (comma separated):
docker
Whether to run untagged builds [true/false]:
[false]: false
Whether to lock the Runner to current project [true/false]:
[true]: true
ERROR: Registering runner... forbidden (check registration token) runner={token}
PANIC: Failed to register this runner. Perhaps you are having network problems
I do not have network problems and I have already added a .gitlab-ci.yml file as well to the repository and checked on the linter and it informed me that it was a valid .yml file.
I am using the latest version of the gitlab runner.
Any help would be much appreciated.