fix(ci): use host.docker.internal:3300 for checkout after Gitea port fix
Changed Gitea HTTP port binding from 127.0.0.1:3300 to 0.0.0.0:3300 so Docker containers can reach Gitea via host.docker.internal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://172.21.0.4:3000/${GITHUB_REPOSITORY}.git" .
|
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://host.docker.internal:3300/${GITHUB_REPOSITORY}.git" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Resolve image tags
|
- name: Resolve image tags
|
||||||
|
|||||||
Reference in New Issue
Block a user