Public | Automated Build

Last pushed: a day ago
Short Description
Single-shot or continuous git-pull for keeping images current across a swarm.
Full Description


Git pull, plain and simple (why wasn't there already a published
container to do this)?


See the docker-compose.yml file for a simple example (add additional
services to pick up content pulled by this image). A Makefile is
provided to generate the deploy key as a Docker secret; after doing so,
upload the new public key to your git server.


Variable Description
DEST destination directory under /git
GIT_COMMIT branch name or hash
GIT_HOST hostname of git repo (for keyscan)
GIT_REPO repository name
INTERVAL polling interval, 0 for one-shot


Secret Description
git-deploy_sshkey private half of deploy keypair
Docker Pull Command
Source Repository

Comments (0)