@@ -562,6 +562,14 @@ def push_image_manifest(
562562 manifest_image ["annotations" ]["cname" ] = cname
563563 manifest_image ["annotations" ]["architecture" ] = architecture
564564 manifest_image ["annotations" ]["feature_set" ] = feature_set
565+ description = (
566+ f"Garden Linux: { cname } "
567+ f"Architecture: { architecture } "
568+ f"Features: { feature_set } "
569+ )
570+ manifest_image ["annotations" ][
571+ "org.opencontainers.image.description"
572+ ] = description
565573 attach_state (manifest_image ["annotations" ], "" )
566574
567575 config_annotations = {"cname" : cname , "architecture" : architecture }
@@ -585,15 +593,9 @@ def push_image_manifest(
585593 )
586594
587595 # This ends up in the index-entry for the manifest
588- description = (
589- f"Garden Linux image { cname } -{ version } -{ architecture } \n "
590- f"Architecture: { architecture } \n "
591- f"Features: { feature_set } "
592- )
593596 metadata_annotations = {"cname" : cname , "architecture" : architecture }
594597 attach_state (metadata_annotations , "" )
595598 metadata_annotations ["feature_set" ] = feature_set
596- metadata_annotations ["org.opencontainers.image.description" ] = description
597599 manifest_digest = self .get_digest (manifest_container )
598600 if manifest_digest != local_digest :
599601 raise ValueError ("local and remotely calculated digests do not match" )
0 commit comments