Hey @honest talon, there seems to be an issue with passing secrets to a docker build. We have a test covering that but not in a module. I thought it could be because of recent work but even in 0.11.6 I can reproduce it:
can't open '/run/secrets/my-secret': No such file or directory
Does it ring any bell? Reported in https://github.com/dagger/dagger/issues/8035
GitHub
What is the issue? Injecting a secret in the Directory.docker_build() function seems either broken or extremely confusing. First, the example provided in the Cookbook (See https://docs.dagger.io/co...