From 9b231718e395b56a9d1b41af5a57895c52c3d3e4 Mon Sep 17 00:00:00 2001 From: "Krivopolenov, Artemiy" Date: Sun, 18 Jan 2026 19:11:51 +0100 Subject: [PATCH] debugging gitea actions runner --- .gitea/workflows/build-container.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitea/workflows/build-container.yaml b/.gitea/workflows/build-container.yaml index 813d2f7..d6fbb3a 100644 --- a/.gitea/workflows/build-container.yaml +++ b/.gitea/workflows/build-container.yaml @@ -24,6 +24,8 @@ on: env: IMAGE_NAME: zola-pwsh-s3 + # Use the host-accessible URL for registry, not the internal Docker hostname + # If your Gitea is only accessible via gitea:3000, you may need to expose it properly REGISTRY: ${{ gitea.server_url }} jobs: @@ -31,6 +33,20 @@ jobs: runs-on: ubuntu-latest steps: + - name: Debug network and DNS + run: | + echo "=== Network Configuration ===" + ip addr + echo "=== DNS Resolution Test ===" + 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 + - name: Checkout repository uses: actions/checkout@v4