diff --git a/.gitea/workflows/debug.yml b/.gitea/workflows/debug.yml new file mode 100644 index 00000000..34d50f89 --- /dev/null +++ b/.gitea/workflows/debug.yml @@ -0,0 +1,24 @@ +name: Network Debug + +on: + workflow_dispatch: + +jobs: + debug: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + + steps: + - name: Debug Network + run: < /dev/null | + echo "=== Network Info ===" + ip addr show + echo "=== DNS Resolution ===" + nslookup gitea || echo "nslookup failed" + echo "=== Ping Test ===" + ping -c 1 gitea || echo "ping failed" + echo "=== HTTP Test ===" + curl -v http://gitea:3000 || echo "curl failed" + echo "=== Container Networks ===" + cat /etc/resolv.conf