From c9c58a8f588f6802a3854cb58776c6c3e77331a5 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Fri, 18 Jul 2025 00:48:26 +0200 Subject: [PATCH] Add network debug workflow --- .gitea/workflows/debug.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/debug.yml 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