BuckarooBanzay
60af3ee692
fix testdir typo
Some checks failed
docker / build (push) Has been cancelled
git repository auto updater
Overview
Auto-updates a git repository
Environment variables
- GIT_DIR path to the git repo
- GIT_BRANCH branch to use (optional)
- GIT_URL url to clone if the repository does not exist (optional)
Usage
docker run \
-v /my/git/repo:/git \
-e GIT_DIR=/git \
-e GIT_BRANCH=master \
buckaroobanzay/git_autoupdate
Testing / dev
docker build . -t git_autoupdate
docker run --rm -it -e GIT_DIR=/git -e GIT_URL=https://github.com/BuckarooBanzay/git_autoupdate/ git_autoupdate
License
MIT
Description
Languages
Shell
72.4%
Dockerfile
27.6%