diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 67a1ff3..33a87aa 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -14,11 +14,12 @@ jobs: build: runs-on: cth-ubuntu-latest steps: - - name: Check out repository - uses: https://github.com/actions/checkout@v4 - - name: Fetch lfs run: | + git init + git remote add origin gitea@example.com:org/repo.git + git fetch --depth 1 origin ${{ gitea.ref }} + git checkout FETCH_HEAD git lfs pull - name: update packages