Skip to content

Drone plugin for cloning Git repositories

License

Notifications You must be signed in to change notification settings

donny-dont/drone-git

This branch is 4 commits behind drone/drone-git:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8070857 · Nov 23, 2021

History

88 Commits
Aug 8, 2018
May 14, 2021
Nov 23, 2021
Apr 11, 2019
Apr 19, 2019
Aug 8, 2018
Aug 6, 2019
May 3, 2020
Aug 6, 2019
Apr 19, 2019
Aug 8, 2018
May 6, 2021

Repository files navigation

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

About

Drone plugin for cloning Git repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 60.7%
  • Shell 25.3%
  • PowerShell 14.0%