Get image id.
This commit is contained in:
@@ -167,6 +167,8 @@ spec:
|
|||||||
cat /home/build/.metadata/image_id
|
cat /home/build/.metadata/image_id
|
||||||
echo "---"
|
echo "---"
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
with open("/home/build/.metadata/image_id", "r") as f:
|
||||||
|
print("image_id:", f.read())
|
||||||
import json
|
import json
|
||||||
with open("/home/build/.metadata/build.json", "r") as f:
|
with open("/home/build/.metadata/build.json", "r") as f:
|
||||||
meta_body = f.read()
|
meta_body = f.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user