define FORGEJO_RUNNER_FILE

This commit is contained in:
Earl Warren 2023-03-09 18:22:36 +01:00
parent 1bb87d0ebb
commit a02fbdc7af
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -33,7 +33,7 @@ type (
Name string `envconfig:"GITEA_RUNNER_NAME"` Name string `envconfig:"GITEA_RUNNER_NAME"`
Token string `ignored:"true"` Token string `ignored:"true"`
Capacity int `envconfig:"GITEA_RUNNER_CAPACITY" default:"1"` Capacity int `envconfig:"GITEA_RUNNER_CAPACITY" default:"1"`
File string `envconfig:"GITEA_RUNNER_FILE" default:".runner"` File string `envconfig:"FORGEJO_RUNNER_FILE" default:".runner"`
Environ map[string]string `envconfig:"GITEA_RUNNER_ENVIRON"` Environ map[string]string `envconfig:"GITEA_RUNNER_ENVIRON"`
EnvFile string `envconfig:"GITEA_RUNNER_ENV_FILE"` EnvFile string `envconfig:"GITEA_RUNNER_ENV_FILE"`
Labels []string `envconfig:"GITEA_RUNNER_LABELS"` Labels []string `envconfig:"GITEA_RUNNER_LABELS"`