more debugging for workflow

This commit is contained in:
Krivopolenov, Artemiy
2026-01-18 19:17:32 +01:00
parent 9b231718e3
commit 6da9ef7b9b

View File

@@ -35,17 +35,14 @@ jobs:
steps: steps:
- name: Debug network and DNS - name: Debug network and DNS
run: | run: |
echo "=== Network Configuration ===" echo "=== /etc/hosts contents ==="
ip addr
echo "=== DNS Resolution Test ==="
cat /etc/hosts cat /etc/hosts
echo "=== Trying to resolve gitea ===" echo ""
nslookup gitea || true echo "=== Trying to curl gitea by hostname ==="
getent hosts gitea || true curl -v http://gitea:3000 || true
echo "=== Trying to ping gitea IP directly ===" echo ""
ping -c 2 172.18.0.6 || true echo "=== Trying to curl gitea by IP ==="
echo "=== Trying wget to gitea ===" curl -v http://172.18.0.6:3000 || true
wget -O- http://172.18.0.6:3000 || true
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4