ci: replace actions/checkout with git clone (no Node.js in runner)

This commit is contained in:
2026-07-19 18:56:03 +08:00
parent a2fa894a33
commit f59761432b
+5 -1
View File
@@ -14,12 +14,16 @@ on:
env:
REGISTRY: 192.168.123.199:5000
APP: lpt-ai
REPO_URL: http://git.cat-shark.xyz/cat-shark/lpt-ai.git
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
run: |
git clone $REPO_URL .
git checkout ${{ github.sha }}
- name: Build & Push Docker image
run: |