### Contributing guidelines and issue reporting guide - [x] I've read the [contributing guidelines](https://github.com/moby/buildkit/blob/master/.github/CONTRIBUTING.md) and wholeheartedly agree. I've also read the [issue reporting guide](https://github.com/moby/buildkit/blob/master/.github/issue_reporting_guide.md). ### Well-formed report checklist - [x] I have found a bug that the documentation does not mention anything about my problem - [x] I have found a bug that there are no open or closed issues that are related to my problem - [x] I have provided version/information about my environment and done my best to provide a reproducer ### Description of bug ## Bug description Although by the docs `oci-mediatypes` should default to true, it only does so if user does not pass `--provenance=false` in `docker buildx build`. OCI exporter seems to work correctly as it is initialized with default value in https://github.com/moby/buildkit/blob/master/exporter/oci/export.go#L73 but image exporter only configures `oci-mediatypes` if user passed `oci-mediatypes` attribute https://github.com/moby/buildkit/blob/master/exporter/containerimage/opts.go#L52.