#env variables from host as default args
1 messages · Page 1 of 1 (latest)
you can't use the +default pragma for security reasons. There's some work happening here https://github.com/dagger/dagger/pull/9504 which we're fleshing out to allow users having a .env file locally and passing that to the engine. Details are still under discussion but the only way to pass env variables to your function currently is via explicit --my-var env:FOO args