diff --git a/source-container-build/app/source_build.py b/source-container-build/app/source_build.py index de807d8..9e5b768 100644 --- a/source-container-build/app/source_build.py +++ b/source-container-build/app/source_build.py @@ -407,10 +407,8 @@ def generate_source_images(image: str) -> list[str]: :param image: str, represent the built image. :return: list of generated source container images. """ - # For backward-compatibility. It will be removed in near future. - deprecated_image = f"{image}.src" source_image = generate_konflux_source_image(image) - return [deprecated_image, source_image] + return [source_image] def resolve_source_image_by_version_release(binary_image: str) -> str | None: diff --git a/source-container-build/app/test_source_build.py b/source-container-build/app/test_source_build.py index 936b2e6..5fcc79d 100644 --- a/source-container-build/app/test_source_build.py +++ b/source-container-build/app/test_source_build.py @@ -922,7 +922,7 @@ def run_side_effect(cmd, **kwargs): expected_source_image = f"{image_repo}:{image_tag}" self.assertEqual(expected_source_image, build_result["image_url"]) - self.assertListEqual([f"{OUTPUT_BINARY_IMAGE}.src", expected_source_image], pushed_images) + self.assertListEqual([expected_source_image], pushed_images) def test_just_include_app_source(self): self._test_include_sources()