Keep URL probing compatible with minimal runner images by dropping gateway discovery and checking known internal/external repository endpoints directly. Made-with: Cursor
This commit is contained in:
@@ -13,10 +13,8 @@ jobs:
|
|||||||
- name: Checkout source (adaptive)
|
- name: Checkout source (adaptive)
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
GW="$(ip route | awk '/default/ {print $3; exit}')"
|
|
||||||
CANDIDATES="
|
CANDIDATES="
|
||||||
http://gitea:3000/${{ github.repository }}
|
http://gitea:3000/${{ github.repository }}
|
||||||
http://${GW}:3000/${{ github.repository }}
|
|
||||||
http://host.docker.internal:3000/${{ github.repository }}
|
http://host.docker.internal:3000/${{ github.repository }}
|
||||||
https://git.produktor.io/${{ github.repository }}
|
https://git.produktor.io/${{ github.repository }}
|
||||||
https://git.produktor.io/${{ github.repository }}.git
|
https://git.produktor.io/${{ github.repository }}.git
|
||||||
|
|||||||
Reference in New Issue
Block a user