I have a GitHub Enterprise running in private mode (ie. requires log in before accessing the repositories). I managed to get the Drone authenticate and I can see the list of repos that I have rights to. I can enable those repos for Drone. However, cloning fails:
+ git init Initialized empty Git repository in /drone/src/github.mine/Wiechec/repo/.git/ + git remote add origin http://github.mine/Wiechec/repo.git + git fetch --no-tags origin +refs/heads/adding-support-for-Drone-CI: fatal: could not read Username for 'http://github.mine': No such device or address exit status 128
It looks like it can resolve the github host but fails to provide credentials.
I am starting
drone-server with those environment vars:
What am I doing wrong?