Merge pull request #3039 from dbonev/3020-build-arguments-object-syntax

Allowing null for build args
This commit is contained in:
Joffrey F 2016-03-09 10:55:05 -08:00
commit 7033042656
2 changed files with 27 additions and 15 deletions

View file

@ -58,20 +58,7 @@
"properties": {
"context": {"type": "string"},
"dockerfile": {"type": "string"},
"args": {
"oneOf": [
{"$ref": "#/definitions/list_of_strings"},
{
"type": "object",
"patternProperties": {
"^.+$": {
"type": ["string", "number"]
}
},
"additionalProperties": false
}
]
}
"args": {"$ref": "#/definitions/list_or_dict"}
},
"additionalProperties": false
}