[minor] allow registries to be configured