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 ead2ab4d69
commit 9dd2428546
3 changed files with 19 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ func (sc *StepContext) newStepContainer(ctx context.Context, image string, cmd [
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"),