hí ộ
This commit is contained in:
14
templates/builds/dockerfile-build/v1/schema.json
Normal file
14
templates/builds/dockerfile-build/v1/schema.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://platform.example/templates/dockerfile-build/v1",
|
||||
"title": "dockerfile-build@v1",
|
||||
"description": "Build recipe, independent of ServiceSpec; infrastructure is gateway-owned",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["strategy", "contextDir", "dockerfile"],
|
||||
"properties": {
|
||||
"strategy": {"const": "dockerfile"},
|
||||
"contextDir": {"type": "string", "minLength": 1, "maxLength": 256},
|
||||
"dockerfile": {"type": "string", "minLength": 1, "maxLength": 256}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user