Hello everyone,
I’m now working a couple of hours on my local setup and googled and debugged a lot. But now hitting a dead end…
- I have gitea, drone, runner etc. running in docker and connected by a bridge network, let’s call it drone-bridge
- I figured out how to connect the bits and pieces so that the spawned runner can clone using DRONE_RUNNER_NEWTORKS
- I found out that every build step spawns a new container and that all spawned containers are added to their only newly created docker network and to the drone-bridge
- Build steps fail because the temporary docker network has no internet access due to firewall policies. However… drone-bridge has.
Does anyone have an idea how to achieve one of the following:
- re-use an existing network (DOCKER_NETWORK_ID does not work with existing nets)
- pass a configuration for the “to-be-created-network” to the runner with an ip not blocked by the firewall
Any other approach is highly welcome - except “Allow all”