code: def validate_docker_tag(
      ctx: Context, param: Parameter, tag: str | tuple[str] | None
  ) -> str | tuple[str] | None:
      logger.warning(
          "'validate_docker_tag' is now deprecated, use 'validate_container_tag' instead."
      )
      return validate_container_tag(ctx, param, tag)
  
imports: from __future__ import annotations
  import difflib
  import functools
  import logging
  import os
  import re
  import time
  import typing
  import attr
  import click
  import click_option_group
  from click import ClickException
  from click.exceptions import UsageError
label_desc: Use image node_id 4 for calling a global function with example usage: validate_docker_tag(ctx, param, tag) and returns: validate_container_tag