def METHOD_NAME(self, file_path: str) -> set[Image]:
    """Get container images mentioned in a file
    Argo Workflows file can have a job and services run within a container.
    in the following sample file we can see a node:14.16 image:
    apiVersion: argoproj.io/v1alpha1
    kind: Workflow
    metadata:
      generateName: template-defaults-
    spec:
      entrypoint: main
      templates:
        - name: main
          steps:
            - - name: retry-backoff
                template: retry-backoff
            - - name: whalesay
                template: whalesay
        - name: whalesay
          container:
            image: argoproj/argosay:v2
            command: [cowsay]
            args: ["hello world"]
        - name: retry-backoff
          container:
            image: python:alpine3.6
            command: ["python", -c]
            # fail with a 66% probability
            args: ["import random; import sys; exit_code = random.choice([0, 1, 1]); sys.exit(exit_code)"]
    Source: https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml
    :return: List of container image short ids mentioned in the file.
    Example return value for a file with node:14.16 image: ['sha256:6a353e22ce']
    """
    images: set[Image] = set()
    parsed_file = self._parse_file(file_path)
    if not parsed_file:
        return images
    workflow, workflow_line_numbers = parsed_file
    if not isinstance(workflow, dict):
        # make type checking happy
        return images
    spec = workflow.get("spec")
    if spec:
        templates = spec.get("templates")
        if isinstance(templates, list):
            for template in templates:
                container = template.get("container")
                if container:
                    image = self.extract_image(file_path=file_path, container=container)
                    if image:
                        images.add(image)
                script = template.get("script")
                if script:
                    image = self.extract_image(file_path=file_path, container=script)
                    if image:
                        images.add(image)
    return images