fix(ci): 使用公开域名克隆代码,解决 Runner 无法解析内部 gitea 主机名问题
Build and Push Docker Image / build (push) Failing after 1s

This commit is contained in:
Antigravity committed 2026-09-19 11:43:59 +08:00
1 parent dc6adb710d
commit e0f4cb14a0
1 file changed
+3 -1
+3 -1
View File
@@ -13,7 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
run: |
git clone --depth=1 "https://${{ gitea.actor }}:${{ secrets.GITHUB_TOKEN }}@git.openlocalpdf.com/${{ gitea.repository }}.git" .
git checkout "${{ github.sha }}" || true
- name: Check Runner Environment
run: |