runner/cmd
telackey 028451bf22
Add CLI flag for specifying the Docker image to use. (#83)
Since the `exec` command does not use labels from `.runner`, there is no existing way to specify which Docker image to use for task execution.

This adds an `--image` flag for specifying it manually.  The default remains `node:16-bullseye`.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/83
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: telackey <telackey@noreply.gitea.io>
Co-committed-by: telackey <telackey@noreply.gitea.io>
2023-04-05 00:53:35 +02:00
..
cmd.go Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
daemon.go Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-04-05 00:53:35 +02:00
exec.go Add CLI flag for specifying the Docker image to use. (#83) 2023-04-05 00:53:35 +02:00
register.go Clarify labels (#69) 2023-04-05 00:53:35 +02:00