Fix disable update check flag name (#3412)

This commit is contained in:
Anbraten 2024-02-19 10:04:55 +01:00 committed by GitHub
parent 30b92edc99
commit cee890d359
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ var GlobalFlags = append([]cli.Flag{
Usage: "server address",
},
&cli.BoolFlag{
EnvVars: []string{"DISABLE_UPDATE_CHECK"},
EnvVars: []string{"WOODPECKER_DISABLE_UPDATE_CHECK"},
Name: "disable-update-check",
Usage: "disable update check",
},