.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:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug DNS
|
- name: Force DNS Fix
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cat /etc/hosts
|
# Ermittelt die IP des Docker-Gateways (die Synology)
|
||||||
ping -c 1 gitea.tecamino.local || echo "DNS still broken"
|
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
|
- name: Check out repo code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user