Go to file
Brad Rydzewski f290e93029
Merge pull request #3 from carlwgeorge/lfs
Add git-lfs to Linux images
2018-12-14 18:21:43 -08:00
.github initial commit 2018-08-08 14:43:53 -07:00
docker Add git-lfs to Linux images 2018-11-28 20:09:36 -06:00
posix Merge remote-tracking branch 'origin/master' 2018-12-14 18:10:39 -08:00
windows working windows images [ci skip] 2018-09-11 16:06:41 -07:00
.dockerignore initial commit 2018-08-08 14:43:53 -07:00
.drone.yml format yaml 2018-09-17 15:05:14 -07:00
.gitignore added powershell clone scripts 2018-09-11 11:06:54 -07:00
LICENSE initial commit 2018-08-08 14:43:53 -07:00
README.md fix issue with missing author and email 2018-12-14 18:10:09 -08:00

drone-git

Drone plugin to clone git repositories.

Build

Build the Docker image with the following commands:

docker build --rm -f docker/Dockerfile.linux.amd64 -t drone/git .

Usage

Clone a commit:

docker run --rm \
  -e DRONE_REMOTE_URL=https://github.com/drone/envsubst.git \
  -e DRONE_BUILD_EVENT=push \
  -e DRONE_COMMIT_SHA=15e3f9b7e16332eee3bbdff9ef31f95d23c5da2c \
  -e DRONE_COMMIT_BRANCH=master \
  drone/git