def METHOD_NAME(
    self, file_path: str, images: set[Image], workflow_line_numbers: list[tuple[int, str]], workflow: dict[str, Any]
) -> None:
    root_image = workflow.get("image", "")
    if root_image:
        for line_number, line_txt in workflow_line_numbers:
            if "image" in line_txt and not line_txt.startswith(" "):
                image_obj = Image(
                    file_path=file_path,
                    name=root_image,
                    start_line=line_number,
                    end_line=line_number,
                )
                images.add(image_obj)