Self-hosted subset of images.linuxcontainers.org

Is there way to create self-hosted subset of subset of images.linuxcontainers.org?

For example, I need only Centos and Ubuntu images and only amd64.

I know I can rsync with filter, but is there a more correct way?

In fact I need something like “copy centos and ubuntu images from images.linuxcontainers.org, add my own images and build correct metadata for all this images”.

See the Incus 0.7 announcement, specifically the new incus-simplestreams tool, that should make things easier for you.