presetLocalContainer/action.yaml hinzugefügt
Build go program / Test-Gitea-Actions (push) Successful in 10s

This commit is contained in:
2026-04-14 16:14:56 +02:00
parent 72b1b3cc82
commit 5e0009c545
+20
View File
@@ -0,0 +1,20 @@
name: presetLocalContainer
description: preseting Gitea Job Runner
runs:
steps:
#- name: Disable SSL verify (TEST ONLY)
# run: git config --global http.sslVerify false
- name: Force DNS Fix (Robust)
shell: sh
run: |
# extract gateway-IP from routing-table
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"
# write entry in /etc/hosts
echo "$GATEWAY_IP gitea.tecamino.local" >> /etc/hosts
- name: Verify Fix
run: cat /etc/hosts