Docker workflow fixed #1

Merged
artem merged 12 commits from workflow-debugging into main 2026-01-19 10:27:05 +03:00
Showing only changes of commit 36093517fb - Show all commits

View File

@@ -24,8 +24,6 @@ on:
env: env:
IMAGE_NAME: zola-pwsh-s3 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 }} REGISTRY: ${{ gitea.server_url }}
jobs: jobs:
@@ -33,23 +31,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Debug network and DNS
run: |
echo "=== environment variables ==="
env
echo ""
echo "=== /etc/hosts contents ==="
cat /etc/hosts
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: Add gitea to /etc/hosts
run: echo "172.18.0.6 gitea" | sudo tee -a /etc/hosts
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4