Yum staging repo (Nexus 3)

I’m building a pipeline where I’d like to stage rpm packages in a yum repo and then install on a server
So I’ve created one hosted yum repo. For each build I’m creating a tag and I’m uploading the rpm files/packages via the component API and associating them with this tag.
But now I’d like to install on a rhel server. My idea then is to register a yum repo on the rhel server, but this repo should only include the staged packages for this build. I.e. the ones tagged with the build’s tag. How can I do that? Is it even possible? What I think I need is an URL that provides a yum repo only containing some of the packages (the ones with one specific tag) in the hosted yum repo in Nexus.

Or do I need to do this some other way?