Skip to content

Create Your First Repository

A repository stores the artifacts of one format. Create one for the format you build with, then connect your tool to it.

You build with Choose
Maven or Gradle Maven
pip or twine Python
Node.js and npm npm
Docker Docker
  1. Sign in to the admin portal and click Repositories in the sidebar.

  2. Click Create Repository. If you do not see the button, your user cannot manage repositories: ask your organization owner.

  3. Under Format, choose your format. Gradle and sbt use Maven.

  4. Under Kind, keep Hosted: you publish to it and read from it, and CloudRepo stores your artifacts. The other kinds are for later: Proxy, and, for Maven, Docker, Python and npm (Python and npm in early access), Group. See Proxy Repositories.

  5. Under Name, type a name such as releases. Use lowercase letters, numbers, hyphens and underscores, up to 32 characters. The line under the box shows the repository’s address, with your name in it, as you type.

    Maven is chosen under Format, Name holds libs-release, and the address under it holds libs-release.
  6. Click Create repository.

Expected: the portal opens your new repository’s page. It says your-repo is ready. and shows the repository URL with Copy, the same address the form showed. A Docker repository has no URL to copy: it shows how to push your first image instead. Connect has the setup for your tool. If the form says You already have releases., open that one or pick another name.

After Create repository, the portal opens libs-release, which says libs-release is ready, with Create another beside it, and shows the Repository URL with Copy.

Used on this page only, never saved. Never enter a token or password here.

For Maven, Python and npm, the URL is your organization’s host plus the repository:

https://your-org.mycloudrepo.io/repositories/your-repo

your-org is the organization ID you signed up with, and your-repo is the repository ID. Docker is different: docker login takes only the host, your-org.mycloudrepo.io, and the repository goes in the image reference. Docker Repositories shows both.

A new repository is private: reading and publishing both need a credential. You can turn on Public Access in the repository’s settings so that anyone can read it without one; see Enabling Public Repository Access.

  1. Create a repository token. Build tools send a token, not the password you sign in with.
  2. Follow the page for your format, which has a ready-to-paste setup and a command that checks it: Maven, Python, npm or Docker.
View as Markdown