In my pipeline I'm generating RPM packages and I want to put them in a directory in the host. I've tried WithMountedDirectory and I thought that if I put the assets in this directory they should be in the host but they don't.
I've tried using the Export function of the Directory struct but it does not work, this is what Im doing:
// Get the directory from the container
test_dir := d.builder.Directory(WorkDir + "/dbs_builder")
// Export the directory to the host
test_dir.Export(ctx, "/srv/tmp/test_export")
thanks!