Sign inSign up

clibing/alpine-gitlab-runner

By clibing

•Updated about 6 years ago

Image
0

525

clibing/alpine-gitlab-runner repository overview


version: '2'

services:
  gitlab-runner:
    container_name: gitlab_runner
    image: clibing/alpine-gitlab-runner:v12.7.0
    volumes:
      - ./config.toml:/etc/gitlab-runner/config.toml
      - /var/run/docker.sock:/var/run/docker.sock
    network_mode: "host"
concurrent = 3
check_interval = 15

[[runners]]
  # place name , url, token
  name = "xxx"
  url = "xxx"
 # the token will exec the container gitlab-runner register get
  token = "xxxx"
  executor = "docker"
  builds_dir = "/gitlab/runner-builds"
  cache_dir = "/gitlab/runner-cache"
  environment = ["GIT_SSL_NO_VERIFY=true"]
  [runners.docker]
    tls_verify = false
    image = "clibing/alpine-docker:latest"
    privileged = true
    disable_cache = false
    # place your volumes
    volumes = ["/cache", "/gitlab/runner-cache/:/gitlab/runner-cache/:rw", "/var/run/docker.sock:/var/run/docker.sock", "repo:/data/repo:rw"]
    pull_policy = "if-not-present"
    shm_size = 0

Tag summary

Content type

Image

Digest

Size

30.7 MB

Last updated

about 6 years ago

docker pull clibing/alpine-gitlab-runner:v13.3.2