I am working on CI/CD pipeline (GitLab) build and I want to update my submodule. ( In local git submodule update --init --recursive --remote
works well). But the same thing in the pipeline gives the below 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.
I try to use git submodule update --init --recursive --remote
command in the scripts section. But it works well in the terminal.