wizaplace/drone-ci-git

By wizaplace

Updated almost 8 years ago

Drone plugin for git cloning

Image
3

100K+

Drone CI Git plugin

Git plugin for Drone CI, using a single bare repo and git archive to speed up setup.

Usage

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 Command

docker pull wizaplace/drone-ci-git