diff --git a/.gitea/workflows/build-container.yaml b/.gitea/workflows/build-container.yaml index d6fbb3a..bc0377e 100644 --- a/.gitea/workflows/build-container.yaml +++ b/.gitea/workflows/build-container.yaml @@ -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