Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

gitlab-ci-runner

A Docker image for running CI/CD builds using Gitlab runner.
This image belongs to a suite of images [documented here][dockeralpine].

Registry Public Path
hub.docker.com Y bcgdv/gitlab-ci-runner
gitlab.com N bcgdv/alpine-base
gitlab.bcgdv.io N dev-ops/gitlab-ci-runner

Versions

  • 9.3, latest
  • 9.2
  • 1.11

Usage

Running as single command.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /cache -e 'CI_SERVER_URL=https://gitlab.com' -e 'RUNNER_TOKEN=token-here' -e 'RUNNER_DESCRIPTION=TEST RUNNER' -e 'RUNNER_EXECUTOR=docker' bcgdv/gitlab-ci-runner:latest

## docker-compose.yml
gitlab-runner-master:
  image: bcgdv/gitlab-ci-runner:latest
  volumes:
    - "/var/run/docker.sock:/var/run/docker.sock"
    - "/cache"
  environment:
    CI_SERVER_URL: 'https://gitlab.com'
    RUNNER_TOKEN: 'your-token-here'
    RUNNER_IMAGE: bcgdv/gitlab-ci-docker
    RUNNER_DESCRIPTION: 'test runner description'
    RUNNER_EXECUTOR: 'docker'
    RUNNER_DOCKER_MODE: 'socket'

Upstreams

Docker Pull Command
Owner
bcgdv

Comments (0)