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:
- name: Debug network and DNS
run: |
echo "=== Network Configuration ==="
ip addr
echo "=== DNS Resolution Test ==="
echo "=== /etc/hosts contents ==="
cat /etc/hosts
echo "=== Trying to resolve gitea ==="
nslookup gitea || true
getent hosts gitea || true
echo "=== Trying to ping gitea IP directly ==="
ping -c 2 172.18.0.6 || true
echo "=== Trying wget to gitea ==="
wget -O- http://172.18.0.6:3000 || true
echo ""
echo "=== Trying to curl gitea by hostname ==="
curl -v http://gitea:3000 || true
echo ""
echo "=== Trying to curl gitea by IP ==="
curl -v http://172.18.0.6:3000 || true
- name: Checkout repository
uses: actions/checkout@v4