public void writeMetadata(ImageReference imageReference, ImageMetadataTemplate metadata)
      throws IOException {
    cacheStorageWriter.writeMetadata(imageReference, metadata);
  }
Saves image metadata (a manifest list and a list of manifest/container configuration pairs) for
an image reference.

@param imageReference the image reference to save the metadata for
@param metadata the image metadata
@throws IOException if an I/O exception occurs
jib-core/src/main/java/com/google/cloud/tools/jib/cache/Cache.java