Load Env File
Loads runtime variables from .env files.
The files are selected using glob patterns.
Params starting with ENV_ specify which variables to load and how they should be named. E.g. the following loads the variable REEVE_VERSION from the file .env and stores the value in the runtime variable IMAGE_VERSION.
yaml
params:
FILES: .env
ENV_REEVE_VERSION: IMAGE_VERSIONParams
| Param | Description |
|---|---|
FILES | Space separated list of file patterns to be included (shell syntax) (default: **/*.env) (string) |
LOAD_ALL | Whether to load all variables from the env files (default: false) ("true" | "false") |
ENV_<name> | Variables to be loaded from the files and their corresponding runtime variable names to be used in Reeve (string) |