You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
TP Honey 39d233b3d9
Update .drone.yml
9 months ago
.github initial commit 5 years ago
docker Update Dockerfile.windows.ltsc2022 9 months ago
posix Add `retries` option (#43) 2 years ago
scripts embed files [CI SKIP] 5 years ago
windows update embedded files [CI SKIP] 4 years ago
.dockerignore initial commit 5 years ago
.drone.yml Update .drone.yml 9 months ago
.gitignore add starlark script [ci skip] 4 years ago
CHANGELOG.md update changelog for 1.1.0 [ci skip] 4 years ago
LICENSE initial commit 5 years ago
README.md update readme and annotate code with change 2 years ago

README.md

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_WORKSPACE=/drone \
  -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