runner/internal/app/cmd
appleboy 9e4a5f7363 feat: improve Docker configuration and detection handling (#242)
- Pass `cfg` to `envcheck.CheckIfDockerRunning` function
- Add `Docker` struct to `config.go` for Docker configuration
- Update `config.example.yaml` with `docker` configuration options
- Modify `CheckIfDockerRunning` in `docker.go` to use Docker host from config if provided

Signed-off-by: appleboy <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/242
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.com>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
2023-06-18 05:38:38 +00:00
..
cmd.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00
daemon.go feat: improve Docker configuration and detection handling (#242) 2023-06-18 05:38:38 +00:00
exec.go Add ValidVolumes config (#226) 2023-06-16 06:07:48 +00:00
register.go Support changing labels (#201) 2023-06-15 03:59:15 +00:00