code: def main(args: dict) -> None:
      # set current path as working dir
      os.chdir(HERE)
  
      version = args.get(build_utils.FLAG_VERSION)
      docker_image_prefix = args.get(
          build_docker.FLAG_DOCKER_IMAGE_PREFIX
      )
  
      if not docker_image_prefix:
          docker_image_prefix = DOCKER_IMAGE_PREFIX  # type: ignore
  
      if args.get(build_utils.FLAG_MAKE):
          build_docker.build_docker_image(
              COMPONENT_NAME, version, exit_on_error=True
          )
  
      if args.get(build_utils.FLAG_CHECK):
          pass
          #  build_docker.lint_dockerfile(exit_on_error=True)
          # TODO: the python base image currently has vulnerabilities
          # build_docker.check_image(
          #     image=build_docker.get_image_name(name=COMPONENT_NAME, tag=version),
          #     exit_on_error=True,
          # )
  
      if args.get(build_utils.FLAG_RELEASE):
          build_docker.release_docker_image(
              COMPONENT_NAME,
              version,
              docker_image_prefix,
              exit_on_error=True,
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types