Get image id.

This commit is contained in:
Tom Alexander
2026-09-07 18:15:43 -04:00
parent 64bee2bb1b
commit b59fe5b7c8

View File

@@ -167,6 +167,8 @@ spec:
cat /home/build/.metadata/image_id
echo "---"
#!/usr/bin/env python
with open("/home/build/.metadata/image_id", "r") as f:
print("image_id:", f.read())
import json
with open("/home/build/.metadata/build.json", "r") as f:
meta_body = f.read()