When running inside Gitea Actions runner (Docker-in-Docker), 127.0.0.1:HOST_PORT doesn't work because the runner container doesn't have access to the host's port mappings. Use docker inspect to get the container's direct IP address.
Replace : and / with - to comply with Docker container naming rules. The colon in image:tag format is invalid in container names.