Get image id.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user