def METHOD_NAME(args, image):
    if args.docker_registry:
        image = '%s/%s' % (args.docker_registry, image)
    if args.image_tag:
        image = '%s:%s' % (image, args.image_tag)
    return image