Go to file
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
.forgejo/workflows the test workflow is not meant to release 2023-04-04 14:39:53 +02:00
.gitea/workflows Support cache on ci (#47) 2023-03-16 16:56:03 +01:00
artifactcache Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-04-05 00:53:35 +02:00
client Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
cmd Add CLI flag for specifying the Docker image to use. (#83) 2023-04-05 00:53:35 +02:00
config define FORGEJO_RUNNER_FILE 2023-03-09 18:25:54 +01:00
core Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
engine feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
poller handle possible panic (#88) 2023-04-05 00:53:35 +02:00
register s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
runtime Fix potential log panic (#82) 2023-04-05 00:53:35 +02:00
.dockerignore keep .git on build to extract version from tag 2023-04-03 16:57:27 +02:00
.gitignore publish release 2023-04-03 01:13:33 +02:00
.golangci.yml chore: add .golangci config 2022-11-24 15:36:28 +08:00
Dockerfile publish release 2023-04-03 01:13:33 +02:00
LICENSE Add license 2022-11-24 15:36:16 +08:00
Makefile build static binaries 2023-04-03 01:13:33 +02:00
README.md trigger the build 2023-03-01 00:32:50 +01:00
build.go Support cache (#25) 2023-02-28 23:48:37 +01:00
go.mod sync with act 1.3.0 2023-04-04 12:20:22 +02:00
go.sum sync with act 1.3.0 2023-04-04 12:20:22 +02:00
main.go s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00

README.md

Forgejo Actions runner

Runs workflows found in .forgejo/workflows, using a format similar to GitHub actions but with a Free Software implementation.

It is compatible with Forgejo v1.19.0-0-rc0