blob: 16276614ae05dcc6b25b2899106883b980fa0380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
python-gitlab docker image
==========================
How to build
------------
``docker build -t python-gitlab:VERSION .``
How to use
----------
``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> =/python-gitlab.cfg python-gitlab <command> ...``
To change the endpoint, add `-e GITLAB_URL=<your url>`
Bring your own config file:
``docker run -it --rm -v /path/to/python-gitlab.cfg:/python-gitlab.cfg -e GITLAB_CFG=/python-gitlab.cfg python-gitlab <command> ...``
|