Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker image containing git-mirror #3

Closed
bachp opened this issue Oct 5, 2017 · 3 comments
Closed

Create docker image containing git-mirror #3

bachp opened this issue Oct 5, 2017 · 3 comments

Comments

@bachp
Copy link
Owner

bachp commented Oct 5, 2017

No description provided.

@bachp
Copy link
Owner Author

bachp commented Feb 3, 2018

The docker container is now available: https://hub.docker.com/r/bachp/git-mirror/ documentation needs to be updated.

@pquerner
Copy link

Is this considered OK?

sudo docker run -e GITLAB_PRIVATE_TOKEN="x" bachp/git-mirror -g mirror -u http://gitlab.example.com

@bachp
Copy link
Owner Author

bachp commented Feb 23, 2018

I think that should work. However I'm thinking abiut changing the containers entrypoint so that it could be used easier in gitlab ci.

This would change the usage to:

docker run -e GITLAB_PRIVATE_TOKEN="x" bachp/git-mirror git-mirror -g mirror -u http://gitlab.example.com

@bachp bachp closed this as completed in 306283b Mar 4, 2018
bachp added a commit that referenced this issue Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants