WARNING: this container is under development and should not be considered stable.
There is a known issue with MSYS2-based programs that prevents certain git related tools from running. This issue may prevent some usage of this container.
gitlab-runner
running in a windows container.
Start the docker container with your public key:
docker run -d -e REGISTRATION_TOKEN=xxx -e CI_SERVER_URL='http://localhost/ci' -e RUNNER_NAME=gitlab-agent-1 -e RUNNER_TAG_LIST='WINDOWS,DOCKER' patsissons/gitlab-runner-windows
- REGISTRATION_TOKEN - token can be found at
http://.../admin/runners
- CI_SERVER_URL - url is in the form
http://.../ci
- RUNNER_TAG_LIST - comma separated list of tags to register with
- RUNNER_NAME - name to register the runner with
- RUNNER_EXECUTOR - see docs for executors (defaults to
shell
) - RUNNER_SHELL - executor shell to use, see docs for options (default to
cmd
) - CONFIG_FILE - config path override (generally not used)
- REGISTER_RUN_UNTAGGED - TBD
- RUNNER_REQUEST_CONCURRENCY - TBD
- RUNNER_BUILDS_DIR - override the build path
- RUNNER_CACHE_DIR - override the cache path
See the official gitlab-runner usage docs for more information on supported enviornment variables