{ "name": "docker", "runtime": "component", "exports": { "run": { "description": "Execute arbitrary literal CLI arguments.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "arguments": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1, "description": "Literal native CLI argument tokens, passed without shell expansion." } }, "required": [ "runDir", "arguments" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "version": { "description": "Print the CLI version.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "build": { "description": "Build an image from a context.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "tag": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Tag supplied to the docker build operation." }, "file": { "type": "string", "minLength": 1, "description": "File supplied to the docker build operation." }, "buildArg": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Build Arg supplied to the docker build operation." }, "target": { "type": "string", "minLength": 1, "description": "Target selected for this native operation." }, "platform": { "type": "string", "minLength": 1, "description": "Platform supplied to the docker build operation." }, "noCache": { "type": "boolean", "description": "No Cache supplied to the docker build operation." }, "pull": { "type": "boolean", "description": "Pull supplied to the docker build operation." }, "context": { "type": "string", "minLength": 1, "default": ".", "description": "Context supplied to the docker build operation. Default: \".\"." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "pull": { "description": "Pull an image.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "platform": { "type": "string", "minLength": 1, "description": "Platform supplied to the docker pull operation." }, "image": { "type": "string", "minLength": 1, "description": "Image supplied to the docker pull operation." } }, "required": [ "runDir", "image" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "push": { "description": "Push an authenticated image reference.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "image": { "type": "string", "minLength": 1, "description": "Image supplied to the docker push operation." } }, "required": [ "runDir", "image" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "tag": { "description": "Create an image tag.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "source": { "type": "string", "minLength": 1, "description": "Source supplied to the docker tag operation." }, "target": { "type": "string", "minLength": 1, "description": "Target selected for this native operation." } }, "required": [ "runDir", "source", "target" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "container_run": { "description": "Run an image with optional command arguments.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "rm": { "type": "boolean", "description": "Rm supplied to the docker container_run operation." }, "detach": { "type": "boolean", "description": "Detach supplied to the docker container_run operation." }, "name": { "type": "string", "minLength": 1, "description": "Name supplied to the docker container_run operation." }, "publish": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Publish supplied to the docker container_run operation." }, "volume": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Volume supplied to the docker container_run operation." }, "env": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Env supplied to the docker container_run operation." }, "network": { "type": "string", "minLength": 1, "description": "Network supplied to the docker container_run operation." }, "workdir": { "type": "string", "minLength": 1, "description": "Workdir supplied to the docker container_run operation." }, "image": { "type": "string", "minLength": 1, "description": "Image supplied to the docker container_run operation." }, "command": { "type": "array", "items": { "type": "string", "minLength": 1 }, "default": [], "description": "Command supplied to the docker container_run operation. Default: []." } }, "required": [ "runDir", "image" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "compose": { "description": "Run Compose with its native subcommand arguments.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation\u2019s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation\u2019s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "array", "items": { "type": "string" }, "description": "Output artifacts to collect as NAME=PATH entries; names must be unique." }, "file": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "File supplied to the docker compose operation." }, "projectName": { "type": "string", "minLength": 1, "description": "Project Name supplied to the docker compose operation." }, "arguments": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1, "description": "Literal native CLI argument tokens, passed without shell expansion." } }, "required": [ "runDir", "arguments" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } } } }