.gitea/workflows/build.yaml aktualisiert
Build go program / Explore-Gitea-Actions (push) Failing after 13s

This commit is contained in:
2026-04-14 12:12:16 +02:00
parent f8321754cc
commit 2ccfd42e3a
+11 -3
View File
@@ -9,10 +9,18 @@ jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Debug DNS
- name: Force DNS Fix
shell: bash
run: |
cat /etc/hosts
ping -c 1 gitea.tecamino.local || echo "DNS still broken"
# Ermittelt die IP des Docker-Gateways (die Synology)
GATEWAY_IP=$(ip route show | grep default | awk '{print $3}')
echo "Gefundene Gateway-IP: $GATEWAY_IP"
# Schreibt den Eintrag hart in die /etc/hosts des aktuellen Jobs
echo "$GATEWAY_IP gitea.tecamino.local" | tee -a /etc/hosts
- name: Verify Fix
run: cat /etc/hosts
- name: Check out repo code
uses: actions/checkout@v4
with: