debugging gitea actions runner
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user