Gitlab CI SSH Keys

Hello,

My project requires checking out code from other git repos on gitlab (package manager - other repos are dependancies). I’m using the docker runner but I just get the following error:

Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

How can I grant the runner access to my other projects?

Thanks.