diff --git a/docs/reference/schema.md b/docs/reference/schema.md index 8b5e508f..4c4856d5 100644 --- a/docs/reference/schema.md +++ b/docs/reference/schema.md @@ -162,6 +162,10 @@ Including `image` marks the service as a *container*: The Dockerfile to build from. Uses the name of the service as the name of the image. Only supported for `tye run` currently. +#### `dockerFileArgs` (`string[]`) + +Build arguments to use when building a Docker image. This is only used when `dockerFile` is specified. + #### `dockerFileContext` (string) Path to the Dockerfile Context to run docker build against. This is only used when `dockerFile` is specified as well. diff --git a/src/schema/tye-schema.json b/src/schema/tye-schema.json index 65060d74..90ca4f6d 100644 --- a/src/schema/tye-schema.json +++ b/src/schema/tye-schema.json @@ -383,6 +383,13 @@ "description": "The Dockerfile to use.", "type": "string" }, + "dockerFileArgs": { + "description": "Build arguments to use when building the image.", + "type": "array", + "items": { + "type": "object" + } + }, "dockerFileContext": { "description": "The Dockerfile context to run docker build on.", "type": "string"