From 6da9ef7b9babb9eb3f35624614ab58f39f8eccf0 Mon Sep 17 00:00:00 2001 From: "Krivopolenov, Artemiy" Date: Sun, 18 Jan 2026 19:17:32 +0100 Subject: [PATCH] more debugging for workflow --- .gitea/workflows/build-container.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) 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