Is it possible to clone project using ssh?
In my installation disabled http access and I have this log:
Cloning repository...
Cloning into '/builds/elyby/accounts-php'...
remote: Git access over HTTP is not allowed
fatal: unable to access 'https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@gitlab.ely.by/elyby/accounts-php.git/': The requested URL returned error: 403
ERROR: Build failed: exit code 1
I added public deploy key in admin area, then added in config:
[runners.ssh]
host = "my-production-server"
port = "22"
identity_file = "/etc/gitlab-runner/keys/id_rsa"
But it still clone over http.
How can I enable cloning over ssh?