def METHOD_NAME(repository):
    """Retrieve production images from the specified repository"""
    log.info(f'Searching for production images in {repository}...')
    response = authed_session.get(f'{REGISTRY_BASE}/{repository}/tags/list')
    response.raise_for_status()
    response_json = response.json()
    for tag in response_json['tags']:
        if is_production_tag(tag):
            yield f'{repository}:{tag}'
    # recurse through child repositories
    for child_repository in response_json['child']:
        yield from METHOD_NAME(f'{repository}/{child_repository}')