diff --git a/.gitea/workflows/container-image.yml b/.gitea/workflows/container-image.yml index 534509d..4a70f2b 100644 --- a/.gitea/workflows/container-image.yml +++ b/.gitea/workflows/container-image.yml @@ -20,7 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v4 + run: | + git init . + git remote add origin "https://gitea.mukan.0am.jp/${{ gitea.repository }}.git" + git fetch --depth=1 origin "${{ gitea.sha }}" + git checkout --detach FETCH_HEAD - name: Build test stage run: |