Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created April 27, 2025 19:46
Show Gist options
  • Save skarllot/3f27bb1aa9233dea4f3d13f0d71754d8 to your computer and use it in GitHub Desktop.
Save skarllot/3f27bb1aa9233dea4f3d13f0d71754d8 to your computer and use it in GitHub Desktop.
Gitlab runner using Bash shell on Windows
@"C:\Program Files\Git\usr\bin\bash.exe" -l
[[runners]]
name = "windows"
url = "https://your.server.name"
token = "YOUR_SECRET_TOKEN"
executor = "shell"
shell = "bash"
builds_dir="/c/gitlab-runner/builds/"
cache_dir="/c/gitlab-runner/cache/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment