Documentation
¶
Overview ¶
Command chartannotate writes the Artifact Hub annotations of one release into the Chart.yaml of a copy of the chart, before release.yml packages it:
- artifacthub.io/images: the image of the release, its tag pinned to the digest of its index, with the platforms of the index, read from the JSON that `docker buildx imagetools inspect --format '{{json .Manifest}}'` prints; attestation manifests (unknown/unknown) are not platforms;
- artifacthub.io/changes: the entries of the release's section of CHANGELOG.md, as release-please writes it, with a kind from their section and links to their pull request and commit;
- artifacthub.io/containsSecurityUpdates: "true" when an entry is a security change;
- artifacthub.io/prerelease: "true" for a tag with a pre-release suffix, such as v1.4.0-rc.1, "false" otherwise.
A missing changelog, a missing section or a section without entries is a warning: the chart is published without changes. A tag that is not a version, an unreadable index or chart, and an index without a digest fail.