Create workspace in DinD
Some checks failed
CI/CD Pipeline (Fully Isolated DinD) / Run Tests (DinD) (push) Failing after 2s
CI/CD Pipeline (Fully Isolated DinD) / Build and Push Docker Images (DinD) (push) Has been skipped
CI/CD Pipeline (Fully Isolated DinD) / Deploy to Production (push) Has been skipped

This commit is contained in:
continuist 2025-07-05 12:32:44 -04:00
parent aa7a7e3d1c
commit 8b01d55ecd

View file

@ -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 }})"