act_runner/internal/pkg/config
Zettat123 ccc27329dc Improve the usage of docker_host configuration (#260)
Follow #242, #244
Fixes #258

Users could use `docker_host` configuration to specify which docker daemon will be used by act_runner.
- If `docker_host` is **empty**, act_runner will find an available docker host automatically.
- If `docker_host` is **"-"**, act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.
- If `docker_host` is **not empty or "-"**, the specified docker host will be used. An error will be returned if it doesn't work.

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/260
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-06-30 04:00:04 +00:00
..
config.example.yaml Improve the usage of docker_host configuration (#260) 2023-06-30 04:00:04 +00:00
config.go Add option to configure workspace on host (#238) 2023-06-20 08:29:05 +00:00
deprecated.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00
embed.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00
registration.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00