'Push a local Docker image to a registry.'

def push(self, repo, tag):

    logger.info(u'Pushing    Docker    image    {}:{}'.format(repo, tag))
    stream = self.client.push(repo, tag=tag, stream=True, insecure_registry=True)
    log_output(stream)
