Skip to content

Additing Annotations

In the stacker yaml file, annotations is a user-specified key value map that is included in the final OCI image. Note that these annotations are included in the image manifest itself and not as part of the index.json.

  a.b.c.key: abc_val
  p.q.r.key: pqr_val

While the config section supports a similar labels, it is more pertinent to the image runtime. On the other hand, annotations is intended to be image-specific metadata aligned with the annotations in the image spec.

Last update: April 8, 2024