chore: update ci-cd.yml
This commit is contained in:
@@ -5,8 +5,8 @@ on:
|
|||||||
branches: [ main, develop ]
|
branches: [ main, develop ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_URL: localhost:5000
|
REGISTRY_URL: 127.0.0.1:5000
|
||||||
GITEA_URL: localhost:3000
|
GITEA_URL: 127.0.0.1:3000
|
||||||
IMAGE_NAME: michaelschiemer
|
IMAGE_NAME: michaelschiemer
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -21,12 +21,14 @@ jobs:
|
|||||||
cat /etc/hosts
|
cat /etc/hosts
|
||||||
echo "IP-Konfiguration:"
|
echo "IP-Konfiguration:"
|
||||||
ip addr
|
ip addr
|
||||||
echo "Testing Gitea connectivity (lokale Adresse):"
|
echo "Network interfaces:"
|
||||||
curl -v --connect-timeout 10 http://${GITEA_URL} || echo "❌ Cannot reach Gitea"
|
ifconfig || ip addr
|
||||||
echo "Testing Registry connectivity (lokale Adresse):"
|
echo "Testing Gitea connectivity (127.0.0.1):"
|
||||||
curl -v --connect-timeout 10 http://${REGISTRY_URL}/v2/ || echo "❌ Cannot reach Registry"
|
curl -s -o /dev/null -w "%{http_code} - Gitea Status\n" http://${GITEA_URL} || echo "❌ Cannot reach Gitea"
|
||||||
echo "Alternativer Verbindungstest zum Host:"
|
echo "Testing Registry connectivity (127.0.0.1):"
|
||||||
ping -c 2 localhost || echo "❌ Cannot ping localhost"
|
curl -s -o /dev/null -w "%{http_code} - Registry Status\n" http://${REGISTRY_URL}/v2/ || echo "❌ Cannot reach Registry"
|
||||||
|
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"
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user