code: def get_tags(url, token):
      headers = {
          "Content-type": "application/json",
          "charset": "UTF-8",
          "Accept": "application/vnd.docker.distribution.manifest.v2+json",
          "Authorization": "Bearer %s" % token,
      }
      try:
          rep = requests.get(url, headers=headers)
          data = json.loads(rep.text)
  
          tags = []
          if "tags" in data:
              tags = data["tags"]
          else:
              print("Can not get the tag list")
          return tags
      except:
          print("Can not get the tag list")
          return []
  
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 17 for calling a global function with example usage: get_tags(url, token) and returns: tags, list