I'm trying to setup CI with GitLab but I'm getting this build error:
[RuntimeException]
Failed to execute git clone --no-checkout 'git@***.git' '/builds/***' && cd '/builds/***' && git remote add composer 'git@***.git' && git fetch composer
Cloning into '/builds/***'...
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
My composer.json looks like this:
{
"repositories": [
{
"type": "git",
"url": "git@***.git"
}],
}
It obviously has something to do with the ssh key pair, but I don't know where to store the private/public keys.