ci: replace actions/checkout with git clone (no Node.js in runner)
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user