<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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))