Skip to content

Instantly share code, notes, and snippets.

@RushOnline
Forked from ryankurte/config.toml
Created October 18, 2021 14:46
Show Gist options
  • Save RushOnline/ff62405544154110b84b138b2ec39ef0 to your computer and use it in GitHub Desktop.
Save RushOnline/ff62405544154110b84b138b2ec39ef0 to your computer and use it in GitHub Desktop.
Set gitlab runner to use git bash
[[runners]]
name = "tt708-windows"
url = "https://gitlab.com/"
token = "[REDACTED]"
executor = "shell"
shell = "bash"
builds_dir="/c/gitlab-runner/builds/"
cache_dir="/c/gitlab-runner/cache/"
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
et-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\gitlab-runner\ -Name ImagePath -Value "C:\Program Files\Git\bin\bash.exe -c `"/c/gitlab-r
unner/gitlab-runner.exe run --working-directory /c/gitlab-runner --config /c/gitlab-runner/config.toml --service gitlab-runner`""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment