def METHOD_NAME(self, workflow: dict[str, Any], images: set[Image], file_path: str) -> None:
    """
    :param workflow: parsed workflow file
    :param images: set of images to be updated
    :param file_path: path of analyzed workflow
    """
    keywords = [
        "pipelines.default[].step.{image: image, __startline__: __startline__, __endline__:__endline__}",
        "pipelines.*.[*][][][].step.{image: image, __startline__: __startline__, __endline__:__endline__}",
    ]
    for keyword in keywords:
        results = cast("list[dict[str, Any]]", jmespath.search(keyword, workflow))
        for result in results:
            image_name = result.get("image", None)
            if image_name:
                image_obj = Image(
                    file_path=file_path,
                    name=image_name,
                    start_line=result["__startline__"],
                    end_line=result["__endline__"],
                )
                images.add(image_obj)