config.toml 1015 B

1234567891011121314151617181920212223242526
  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
  12. # you might want to authenticate:
  13. # 1. Create a Docker Hub account and generate a personal access token
  14. # 2. Encode the username and token in base64
  15. # Example: echo -n 'username:token' | base64
  16. # 3. Replace the <BASE64_ENCODED_AUTH> with the base64 encoded string
  17. environment = ["DOCKER_AUTH_CONFIG={\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"<BASE64_ENCODED_AUTH>\"}}}"]
  18. [runners.docker]
  19. tls_verify = false
  20. image = "alpine:latest"
  21. privileged = true
  22. disable_cache = false
  23. volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
  24. [runners.cache]
  25. Insecure = false