we are have a gitlab-ci runner which is hosted on a docker container running under server A. Now we want to make the gitlab-ci runner configured as a container to execute the commands on the host machine.
We tried registering the runner as "shell" executor using below command but still it is trying to access the shell only inside the gitlab-ci runner container rather than the host server A shell.
sudo gitlab-runner register
--non-interactive
--url "https://gitlab.com/"
--registration-token "xXXXXXXXXXXXXXXx"
--executor "shell"
--description "gitlab-runner"
--run-untagged
--locked "false"
Thanks in advance!