File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -117,15 +117,20 @@ Examples:
117117 # Install plugins sequentially
118118 loopinstall -s plugins.default.yaml
119119
120- # Install plugins with environment variable overrides
120+ # Install plugins with go flags variable overrides
121121 CL_PLUGIN_GOFLAGS="-ldflags='-s'" loopinstall plugins.default.yaml
122122
123+ # Install plugins with custom environment variables
124+ CL_PLUGIN_ENVVARS="GOOS=linux GOARCH=amd64 CGO_ENABLED=0" loopinstall plugins.default.yaml
125+
123126Environment Variables:
124127 CL_PLUGIN_GOFLAGS Override the goflags option from the configuration
128+ CL_PLUGIN_ENVVARS Space-separated list of environment variables to set during installation (for example for cross-compilation)
125129
126130Plugin Configuration Format:
127131 defaults:
128132 goflags: "" # Default Go build flags
133+ envvars: [] # Default environment variables
129134
130135 plugins:
131136 plugin-type:
You can’t perform that action at this time.
0 commit comments