Docker workflow fixed #1
@@ -24,8 +24,6 @@ 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:
|
||||
@@ -33,23 +31,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
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
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user