mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 00:24:58 +00:00
Ignore items from WOODPECKER_ENVIRONMENT only containing a key and no value (#781)
* fix 761 * refactor: rename to match what it does & log ignore case
This commit is contained in:
@@ -173,7 +173,7 @@ func setupRegistryService(c *cli.Context, s store.Store) model.RegistryService {
|
||||
}
|
||||
|
||||
func setupEnvironService(c *cli.Context, s store.Store) model.EnvironService {
|
||||
return environments.Filesystem(c.StringSlice("environment"))
|
||||
return environments.Parse(c.StringSlice("environment"))
|
||||
}
|
||||
|
||||
// setupRemote helper function to setup the remote from the CLI arguments.
|
||||
|
Reference in New Issue
Block a user