浏览代码

BuildInfo uses ‘aux’ to document image ID after build

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Nicolas De Loof 7 年之前
父节点
当前提交
9e29d2ea49
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      api/swagger.yaml

+ 11 - 0
api/swagger.yaml

@@ -1496,6 +1496,17 @@ definitions:
         type: "string"
         type: "string"
       progressDetail:
       progressDetail:
         $ref: "#/definitions/ProgressDetail"
         $ref: "#/definitions/ProgressDetail"
+      aux:
+        $ref: "#/definitions/ImageID"
+
+  ImageID:
+    type: "object"
+    description: "Image ID or Digest"
+    properties:
+      ID:
+        type: "string"
+    example:
+      ID: "sha256:85f05633ddc1c50679be2b16a0479ab6f7637f8884e0cfe0f4d20e1ebb3d6e7c"
 
 
   CreateImageInfo:
   CreateImageInfo:
     type: "object"
     type: "object"