fix: use direct git clone instead of actions/checkout
Replace actions/checkout@v4 (which requires GitHub access) with direct git clone from Gitea to avoid network connectivity issues.
This commit is contained in:
@@ -15,9 +15,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.sha }}
|
||||
run: |
|
||||
git clone --depth 1 http://gitea:3000/jimmy/nas-tools.git .
|
||||
git fetch --depth 1 origin ${{ github.sha }}
|
||||
git checkout ${{ github.sha }}
|
||||
- name: Warm mirror cache for base images
|
||||
run: |
|
||||
set -u
|
||||
|
||||
Reference in New Issue
Block a user