Upload the defined services to their respective repositories.

    So's we can then tell the remote docker host to then pull and run them.

def push(config, services):
    """ Upload the defined services to their respective repositories.

    So's we can then tell the remote docker host to then pull and run them.
    """
    version = _get_version()
    for service_name, service_dict in services.iteritems():
        image = service_dict['image']
        things = {'image': image, 'version': version}
        _call_output('docker push {image}:latest'.format(**things))
        _call_output('docker push {image}:{version}'.format(**things))