diff --git a/atomic_reactor/plugins/cachi2_postprocess.py b/atomic_reactor/plugins/cachi2_postprocess.py index 73d706e49..b1ff8c32f 100644 --- a/atomic_reactor/plugins/cachi2_postprocess.py +++ b/atomic_reactor/plugins/cachi2_postprocess.py @@ -131,7 +131,7 @@ def postprocess_remote_sources(self) -> List[Cachi2RemoteSource]: remote_source_obj = Cachi2RemoteSource( name=remote_source['name'] or '', - tarball_path=os.path.join(remote_source['source_path'], 'remote-source.tar.gz'), + tarball_path=Path(remote_source['source_path'], 'remote-source.tar.gz'), sources_path=Path(remote_source['source_path']), json_data=generate_request_json(remote_source['remote_source'], sbom_data, json_env_data), json_env_data=json_env_data,