I’ve a GOGS server running in one container and am trying to launch a Drone container to automate CI. Though Drone is able to integrate with my local GOGS server and sync the repos, it should the following error during cloning, even before moving to building
:
Initialized empty Git repository in /drone/src/.git/
+ git fetch origin +refs/heads/master:
ssh: connect to host localhost port 22: Address not available
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Both containers are connected to a docker network. Can someone please help me out.