Initial commit

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-03-22 18:02:55 +02:00
commit 992214329c
3 changed files with 77 additions and 0 deletions

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# git-dual-sync
A simple docker image that syncs one git remote to another.
## Environment Variables
| Variable | Description |
| -------------- | ---------------------------------- |
| `GIT_ORIGIN` | The origin remote to sync to |
| `GIT_UPSTREAM` | The upstream remote to sync from |
| `GIT_BRANCH` | The branch to sync |
| `GIT_NAME` | The name to use for the commit |
| `GIT_EMAIL` | The email to use for the commit |
| `GIT_USER` | The username to use for the commit |
| `GIT_PASS` | The password to use for the commit |
## Volumes
| Volume | Description |
| ------ | -------------------------- |
| `/git` | The git repository to sync |