Git plugin for Drone CI
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.