code: def push_to_registry(image, repository, tag, project):
      
      return image.push("%s/%s/%s" % (get_internal_registry_ip(), project, repository), tag=tag)
docs: :param image: DockerImage, image to push
      :param repository: str, new name of image
      :param tag: str, new tag of image
      :param project: str, oc project
      :return: DockerImage, new docker image