# Yum staging repo (Nexus 3)

**URL:** <https://community.sonatype.com/t/yum-staging-repo-nexus-3/3057>\
**Category:** Sonatype Nexus Repository\
**Created:** [November 29, 2019, 9:41am UTC](https://community.sonatype.com/t/yum-staging-repo-nexus-3/3057 "2019-11-29T09:41:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anders.g.hammar](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/anders.g.hammar/32/377_2.png) [@anders.g.hammar](https://community.sonatype.com/u/anders.g.hammar)\
**Post date:** [November 29, 2019, 9:41am UTC](https://community.sonatype.com/t/yum-staging-repo-nexus-3/3057/1 "2019-11-29T09:41:55Z")

</div>

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?
