I'm using dagger to create a generated OpenAPI client for different languages using a OpenAPI spec I export from my backend build. See https://github.com/Fristi/project-mycelium-v2/blob/main/.dagger/src/index.ts#L88
When I call Directory.export and specify a directory I don't see it show up on my host file system. Even when I supply an absolute path. I've read somewhere that this export is being done on runtime docker container, so that would explain it.
Ideally I would like to use this on my ci target aswell where first the client is generated and then all the other build steps are executed afterwards. Tried this, but also there the same problem. the directory was not found