1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix #100 - change RUNNER_TOOL_CACHE to /opt/hostedtoolcache (#103)

This commit is contained in:
Casey Lee 2020-02-25 08:52:05 -08:00 committed by GitHub
parent c571efd481
commit b05d2fc784
3 changed files with 19 additions and 2 deletions

View file

@ -81,7 +81,7 @@ func (rc *RunContext) startJobContainer() common.Executor {
bindModifiers = ":delegated"
}
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/toolcache"))
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/opt/hostedtoolcache"))
binds := []string{
fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"),