diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 881230a..6594845 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -66,6 +66,9 @@ jobs: - name: Checkout code to DinD container run: | + # Create workspace directory in DinD container + docker exec ci-dind mkdir -p /workspace + # Checkout code directly into DinD container using the Forgejo repository that triggered the build docker exec ci-dind sh -c "cd /workspace && git clone ${{ env.GITEA_SERVER_URL }}/${{ env.GITEA_REPOSITORY }}.git . || (cd /workspace && git fetch && git reset --hard origin/${{ env.GITEA_REF }})"