summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-06-10 14:25:51 +0200
committerMax Wittig <max.wittig95@gmail.com>2019-06-10 14:31:42 +0200
commit95c9b6dd489fc15c7dfceffca909917f4f3d4312 (patch)
treefb4e6769d24f21f0e238620c56e1a981c92133cc /README.rst
parente45a6e2618db30834f732c5a7bc9f1c038c45c31 (diff)
downloadgitlab-chore/enable-gitlab-ci-builds.tar.gz
chore(ci): add automatic GitLab image pusheschore/enable-gitlab-ci-builds
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index a7909fa..78f5e41 100644
--- a/README.rst
+++ b/README.rst
@@ -55,8 +55,11 @@ How to use
``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg python-gitlab <command> ...``
-To change the GitLab URL, use `-e GITLAB_URL=<your url>`
+or run it directly from the upstream image:
+
+``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 <command> ...``
+To change the GitLab URL, use `-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> ...``