.gitea/workflows/build.yaml aktualisiert
Build go program / Explore-Gitea-Actions (push) Failing after 13s
Build go program / Explore-Gitea-Actions (push) Failing after 13s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user