Skip to content

Commit 239138c

Browse files
gloursndeloof
authored andcommitted
be more specific on the ssh format
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 0850833 commit 239138c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

schema/compose-spec.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@
9191
"context": {"type": "string"},
9292
"dockerfile": {"type": "string"},
9393
"args": {"$ref": "#/definitions/list_or_dict"},
94-
"ssh": {"type": "string"},
94+
"ssh": {
95+
"oneOf": [
96+
{},
97+
{"type": "string"},
98+
{"type": "array", "items": {"type": "string"}}
99+
]
100+
},
95101
"labels": {"$ref": "#/definitions/list_or_dict"},
96102
"cache_from": {"type": "array", "items": {"type": "string"}},
97103
"cache_to": {"type": "array", "items": {"type": "string"}},

0 commit comments

Comments
 (0)