瀏覽代碼

Add support for labels during build

Signed-off-by: Colin Hebert <[email protected]>
Colin Hebert 8 年之前
父節點
當前提交
645d35612d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compose/config/config_schema_v3.2.json

+ 1 - 0
compose/config/config_schema_v3.2.json

@@ -72,6 +72,7 @@
                 "context": {"type": "string"},
                 "dockerfile": {"type": "string"},
                 "args": {"$ref": "#/definitions/list_or_dict"},
+                "labels": {"$ref": "#/definitions/list_or_dict"},
                 "cache_from": {"$ref": "#/definitions/list_of_strings"}
               },
               "additionalProperties": false