mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
feat: support more options of containers
This commit is contained in:
parent
0921d4e865
commit
1d92791718
5 changed files with 11 additions and 2 deletions
|
@ -59,6 +59,8 @@ type Config struct {
|
|||
PresetGitHubContext *model.GithubContext // the preset github context, overrides some fields like DefaultBranch, Env, Secrets etc.
|
||||
EventJSON string // the content of JSON file to use for event.json in containers, overrides EventPath
|
||||
ContainerNamePrefix string // the prefix of container name
|
||||
ContainerMaxLifetime time.Duration // the max lifetime of job containers
|
||||
ContainerNetworkMode string // the network mode of job containers
|
||||
DefaultActionInstance string // the default actions web site
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue