You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Mirror Git
v0.0.9
Synchronize git repositories like a mirror.
- Multi platforms like GitHub, GitLab, BitBucket, etc.
- Protocol under HTTPS and SSH
- Sync branches, tags and commits
- Ignore specific repositories
- Specify repositories without pushing tags
- Auto create repository on the dest git server with custom script
- Notify with Slack, DingTalk or Lark
docker run \
--rm \
-e INPUT_SOURCE_PROTOCOL \
-e INPUT_SOURCE_HOST \
-e INPUT_SOURCE_USERNAME \
-e INPUT_SOURCE_TOKEN \
-e INPUT_DEST_PROTOCOL \
-e INPUT_DEST_HOST \
-e INPUT_DEST_USERNAME \
-e INPUT_DEST_TOKEN \
-e INPUT_PUSH_TAGS \
-e INPUT_MIRROR_REPOS \
-e INPUT_IGNORED_REPOS \
-e INPUT_SKIP_TAGS_REPOS \
-e INPUT_DEST_CREATE_REPO_SCRIPT \
-e INPUT_SOURCE_PORT \
-e INPUT_SOURCE_PRIVATE_KEY \
-e INPUT_DEST_PORT \
-e INPUT_DEST_PRIVATE_KEY \
-e INPUT_SLACK_WEBHOOK \
-e INPUT_DINGTALK_WEBHOOK \
-e INPUT_LARK_WEBHOOK \
gigrator/mirror-git:0.0.9