mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-23 02:35:30 +00:00
Store agent ID in config file (#1888)
This commit is contained in:
@@ -67,6 +67,12 @@ var flags = []cli.Flag{
|
||||
Name: "hostname",
|
||||
Usage: "agent hostname",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"WOODPECKER_AGENT_ID_FILE"},
|
||||
Name: "agent-id-config-path",
|
||||
Usage: "agent-id config file path",
|
||||
Value: "/etc/woodpecker/agent-id.conf",
|
||||
},
|
||||
&cli.StringSliceFlag{
|
||||
EnvVars: []string{"WOODPECKER_FILTER_LABELS"},
|
||||
Name: "filter",
|
||||
|
Reference in New Issue
Block a user