def push_to_registry(image, repository, tag, project):
return image.push("<STR_LIT>" % (get_internal_registry_ip(), project, repository), tag=tag)<EOL>
: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