diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d4b0305..635defc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,20 +9,8 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest steps: - - name: Verify Fix - run: cat /etc/hosts - - - name: Force DNS Fix (Robust) - shell: sh - run: | - # Extrahiert die Gateway-IP aus der Routing-Tabelle ohne 'ip' Befehl - GATEWAY_IP=$(awk 'NR==2 {printf "%d.%d.%d.%d\n", "0x"substr($3,7,2), "0x"substr($3,5,2), "0x"substr($3,3,2), "0x"substr($3,1,2)}' /proc/net/route) - echo "Gefundene Gateway-IP: $GATEWAY_IP" - # Schreibt den Eintrag in die /etc/hosts - echo "$GATEWAY_IP gitea.tecamino.local" >> /etc/hosts - - - name: Verify Fix - run: cat /etc/hosts + - name: Preset Container + uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/presetLocalContainer@main - name: Check out repo code uses: actions/checkout@v4