BuildKit local and tar exporters accept src
When exporting a build result with the local or tar exporter, set `src` to the subdirectory to export; it must point to a directory within the build result.
buildctl build ... --output type=local,dest=<output-dir>,src=<build-result-subdirectory>