code: def scrape_build_yaml(file_path: str):
      found_packages = []
      with open(file_path, "r") as f:
          config_str = f.read().strip()
          build_config = yaml.safe_load(config_str)
          for step in build_config["steps"]:
              if step["kind"] == "buildImage2":
                  image = step["publishAs"]
                  if image not in found_packages:
                      found_packages.append(image)
      return found_packages
  
imports: import abc
  import json
  import yaml
  from typing import List, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: scrape_build_yaml(file_path) and returns: found_packages