wizaplace/drone-ci-git
Drone plugin for git cloning
100K+
Git plugin for Drone CI, using a single bare repo and git archive
to speed up setup.
The Docker image is hosted there: wizaplace/drone-ci-git
So in your .drone.yml
:
pipeline:
clone:
image: wizaplace/drone-ci-git
volumes:
- /data/gitBareRepo:/bareRepo
The volume is here to cache the bare repo. The worktree will be created in the Drone workspace.
docker pull wizaplace/drone-ci-git