Hey, I try to do the following:
echo "TEST=123" > .env
dagger -c 'container | from alpine | with-secret-variable FOO env://TEST | with-exec -- sh -c "echo secret is $FOO" | stdout'
and get
withExec sh -c 'echo secret is $FOO' 0.0s ERROR
! secret env var not found: "TES..."
โ .stdout: String! 0.0s ERROR
! invalid nil ref
secret env var not found: "TES..."
Time: 0h:00m:05s
How do I work together with .env files and secrets? If I just set a variable using export TEST= it works fine, but I would like to use .env files ๐