Use NAS LAN IP for checkout (192.168.31.221:3300)
host.docker.internal doesn't resolve in job containers despite the runner config setting --add-host. Use the NAS LAN IP directly, which is reachable from any Docker bridge network. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
if [ ! -d .git ]; then
|
||||
git clone --depth=1 "http://host.docker.internal:3300/${GITHUB_REPOSITORY}.git" .
|
||||
git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" .
|
||||
fi
|
||||
|
||||
- name: Setup Python
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
if [ ! -d .git ]; then
|
||||
git clone --depth=1 "http://host.docker.internal:3300/${GITHUB_REPOSITORY}.git" .
|
||||
git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" .
|
||||
fi
|
||||
|
||||
- name: Setup Node.js
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
if [ ! -d .git ]; then
|
||||
git clone --depth=1 "http://host.docker.internal:3300/${GITHUB_REPOSITORY}.git" .
|
||||
git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" .
|
||||
fi
|
||||
|
||||
- name: Warm mirror cache for base images
|
||||
|
||||
Reference in New Issue
Block a user