mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
parent
c571efd481
commit
b05d2fc784
3 changed files with 19 additions and 2 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue