code: def get_latest_tag(limit=200):
      """get the latest tag of master"""
  
      auth_url = ""
      tags_url = ""
      tag_url = ""
      master_latest = "master-latest"
  
      master_latest_digest = get_config_digest(
          tag_url + master_latest, get_token(auth_url)
      )
      tags = get_tags(tags_url, get_token(auth_url))
      tag_list = get_master_tags(tags)
  
      latest_tag = ""
      for i in range(1, len(tag_list) + 1):
          tag_name = str(tag_list[-i])
          tag_digest = get_config_digest(
              tag_url + tag_name, get_token(auth_url)
          )
          if tag_digest == master_latest_digest:
              latest_tag = tag_name
              break
          if i > limit:
              break
  
      if latest_tag == "":
          raise print("Can't find the latest image name")
      print("The image name used is %s" % str(latest_tag))
      return latest_tag
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 20 for calling a global function with example usage: get_latest_tag(limit) and returns: latest_tag