In this tutorial we’ll show you how to publish your operator in Charmhub.
You should already have completed a previous tutorial, to create a minimal operator, or already have one of your own that builds with
charmcraft build. You will need
If you don’t have a charm and don’t want to go through that tutorial to make one, then you will not be able to work with Charmhub, but you can watch this tutorial on Youtube to get the idea.
NOTE: currently the Store support is under development, so all these actions are done against staging, there are no guarantees over the stored information.
We build the charm with
charmcraft. This will fetch any dependencies, compile any modules, check that all the key files are in place, and produce a compressed archive with the operator code and metadata as the charm.
$ charmcraft build Done, charm left in 'hello-world.charm'