config.toml 981 B

12345678910111213141516171819202122232425
  1. concurrent = 10
  2. log_level = "warning"
  3. log_format = "json"
  4. check_interval = 5
  5. [[runners]]
  6. name = "gitlab-runner-1"
  7. url = "gitlab.example.com" # FIXME Change to your GitLab instance URL
  8. executor = "docker"
  9. token = "" # FIXME Add your registration token here
  10. limit = 0
  11. # FIXME To increase rate limits, when pulling down images from the Docker Hub you might want to authenticate:
  12. # 1. Create a Docker Hub account and generate a personal access token
  13. # 2. Encode the username and token in base64
  14. # Example: echo -n 'username:token' | base64
  15. # 3. Replace the <BASE64_ENCODED_AUTH> with the base64 encoded string
  16. environment = ["DOCKER_AUTH_CONFIG={\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"<BASE64_ENCODED_AUTH>\"}}}"]
  17. [runners.docker]
  18. tls_verify = false
  19. image = "alpine:latest"
  20. privileged = true
  21. disable_cache = false
  22. volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
  23. [runners.cache]
  24. Insecure = false