I am attempting to use actions and have setup a runner which was able to successfully register with my gitea instance. When an action runs, it fails when attempting to fetch the repository:
fatal: unable to access ‘http://my_docker_service_name:3000/org/repo/’: Could not resolve host: my_docker_service_name
I have both the gitea instance and the gitea runner instance running inside docker.
I am able to ping my gitea instance from the runner instance and it is able to resolve the host name successfully.
I am wondering what the difference could be when the runner is executing an action and why it wouldn’t be able to resolve the host at that time.