Publishing Meshery Designs to Artifact Hub

In this tutorial, you export a design from Meshery and publish it to an Artifact Hub repository, so that others can find and import it.

Prerequisites

  1. Access to Meshery. Install Meshery or access the Meshery Playground.
  2. A Git repository registered in Artifact Hub with the kind Meshery designs. Step 3 shows how to set one up.

Steps

1. Open the Designs page

In Meshery UI, open Configuration β†’ Designs. The page is at:

2. Download your design as an OCI image

Click the design’s Download action, on its card in the grid view or on its details page, and choose Meshery Design (OCI image). Meshery downloads a .tar archive that contains your design and the metadata Artifact Hub needs.

3. Prepare your Artifact Hub repository

In the Artifact Hub control panel, add a repository of kind Meshery designs that points at your Git repository. See the Artifact Hub documentation for the repository layout it expects.

4. Push Design to Artifact Hub repository

  1. Extract the downloaded .tar archive.
  2. Inside it, find the .tar.gz archive and extract that too. It contains artifacthub-pkg.yml and design.yml.
  3. Copy both files into a folder of their own in your Git repository.
  4. Commit and push the change.

5. Verify repository in Artifact Hub

Artifact Hub indexes repositories periodically, so your design appears after the next indexing run. Check the repository’s status, and any indexing errors, in the Artifact Hub control panel.