diff --git a/assemblers/org.osbuild.ostree.commit b/assemblers/org.osbuild.ostree.commit index af4b2fe2..16a86ea3 100755 --- a/assemblers/org.osbuild.ostree.commit +++ b/assemblers/org.osbuild.ostree.commit @@ -25,6 +25,7 @@ import subprocess import sys import tempfile +from osbuild import api from osbuild.util import ostree @@ -162,6 +163,11 @@ def main(tree, output_dir, options, meta): stdout=sys.stderr, check=True) + with open(os.path.join(output_dir, "compose.json"), "r") as f: + compose = json.load(f) + + api.metadata({"compose": compose}) + if tar: filename = tar["filename"] command = [