I am using Drone with Gitea as GIT server. Everythink works fine, but the problem I have is that the clone step always tries to clone my private repositories by HTTP not over SSH. I’ve disallow the clone over HTTP so all users have to authenticate by rsa keys.
Initialized empty Git repository in /app/src/gitfs/.git/ 2 + git fetch origin +refs/heads/ci: 3 fatal: could not read Username for 'http://git.example.com:3000': No such device or address
Is there a way to clone by SSH instead of HTTP?
Another problem I have:
The Gitea server is only reachable through port 80. I am using jwilder/proxy-manager to handle all incoming HTTP request and forward those to the to the responsible applications. Everything works fine, but Drone always tries to fetch from “git.example.com:3000” - is there a way to override the port? git.example.com:3000 is not reachable because the port is allowed.
Thanks in advance!