chore: update ci-cd.yml

This commit is contained in:
2025-07-17 23:04:07 +02:00
parent 3bcf088f3f
commit 6f73dd15d3

View File

@@ -14,21 +14,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Test Network and DNS # - name: Test Network and DNS
run: | # run: |
echo "🔍 Testing network connectivity..." # echo "🔍 Testing network connectivity..."
echo "Host entries:" # echo "Host entries:"
cat /etc/hosts # cat /etc/hosts
echo "IP-Konfiguration:" # echo "IP-Konfiguration:"
ip addr # ip addr
echo "Network interfaces:" # echo "Network interfaces:"
ifconfig || ip addr # ifconfig || ip addr
echo "Testing Gitea connectivity (127.0.0.1):" # echo "Testing Gitea connectivity (127.0.0.1):"
curl -s -o /dev/null -w "%{http_code} - Gitea Status\n" http://${GITEA_URL} || echo "❌ Cannot reach Gitea" # curl -s -o /dev/null -w "%{http_code} - Gitea Status\n" http://${GITEA_URL} || echo "❌ Cannot reach Gitea"
echo "Testing Registry connectivity (127.0.0.1):" # echo "Testing Registry connectivity (127.0.0.1):"
curl -s -o /dev/null -w "%{http_code} - Registry Status\n" http://${REGISTRY_URL}/v2/ || echo "❌ Cannot reach Registry" # curl -s -o /dev/null -w "%{http_code} - Registry Status\n" http://${REGISTRY_URL}/v2/ || echo "❌ Cannot reach Registry"
echo "Alternativer lokaler Test:" # echo "Alternativer lokaler Test:"
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:3000 || echo "❌ Cannot reach Gitea via 127.0.0.1" # curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:3000 || echo "❌ Cannot reach Gitea via 127.0.0.1"
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4