Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Latest commit

 

History

History
13 lines (9 loc) · 793 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 793 Bytes

Buildkite-git-trigger

Triggers Buildkite pipelines based in changed branches in git.

Usage

Create a volume-mount for a .ssh folder to /root/.ssh, and export 3 env-vars:

Example:

docker run --rm -v ~/.ssh:/root/.ssh -e "BUILDKITE_URL=https://api.buildkite.com/v2/organizations/{org.slug}/pipelines/{pipeline.slug}/builds?access_token={token}" -e "[email protected]:Recras/Buildkite-git-trigger.git" -e "GIT_DIR=/tmp/gitdir" recras/buildkite-git-trigger