runner/act/container
Earl Warren 6620cc1d18 fix: allow overriding RUNNER_TOOL_CACHE from the config file (#178)
- rc.getToolCache(ctx) is used to figure out RUNNER_TOOL_CACHE and  returns RUNNER_TOOL_CACHE if it is found in the runner config, e.g.
  ```yaml
  container:
    env:
	  RUNNER_TOOL_CACHE: /srv/toolcache
  ```
- store the value in the new `toolCache` data member for containers,  in the same way it is done for host
- GetRunnerContext for containers return `toolCache` instead of a  hard coded string
- add integration test

Closes forgejo/runner#184

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/178
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-13 21:55:02 +00:00
..
testdata refactor: filecollector into new package (#2174) 2024-01-30 00:46:45 +00:00
container_types.go fix: allow overriding RUNNER_TOOL_CACHE from the config file (#178) 2025-07-13 21:55:02 +00:00
docker_auth.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_build.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_cli.go chore(lint): fix lint errors 2024-12-30 21:11:02 +00:00
docker_cli_test.go Update module github.com/docker/cli to v28 (#147) 2025-06-14 10:19:53 +00:00
docker_images.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_images_test.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
DOCKER_LICENSE fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_logger.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_network.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_pull.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_pull_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_run.go fix: allow overriding RUNNER_TOOL_CACHE from the config file (#178) 2025-07-13 21:55:02 +00:00
docker_run_test.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_stub.go Update module github.com/docker/docker to v28 (#146) 2025-06-11 14:57:23 +00:00
docker_volume.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
executions_environment.go [FORGEJO] implement lxc separately from self-hosted 2024-03-11 15:30:55 +07:00
host_environment.go fix GOOS parsing to match expected GHA RUNNER_OS values (#106) 2025-03-31 07:52:49 +00:00
host_environment_test.go refactor: filecollector into new package (#2174) 2024-01-30 00:46:45 +00:00
linux_container_environment_extensions.go fix: allow overriding RUNNER_TOOL_CACHE from the config file (#178) 2025-07-13 21:55:02 +00:00
linux_container_environment_extensions_test.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
parse_env_file.go refactor: share UpdateFromEnv logic (#1457) 2022-12-06 16:19:27 +00:00
util.go chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
util_openbsd_mips64.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_plan9.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_windows.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00