cml publish [options] <image file>
Publicly host an image for displaying in a CML report.
Any generic option in addition to:
--md: Produce output in markdown format.
--title=<...>: Title for markdown output.
--mime-type=<...>: Content MIME type [default: inferred from content].
--native: Uses CI provider's native storage instead of CML's. Not available on GitHub.
--rm-watermark: Don't inject a watermark into the comment. Will break some CML functionality which needs to distinguish CML reports from other comments.
To render an image in a markdown file:
cml publish ./plot.png --md >> report.md