docker_build
Builds Docker images from local directories or HTTPS Git repositories using a specified tag and Dockerfile. Requires confirmation to proceed.
Instructions
Build an image with docker build. Needs confirm=true.
context is a folder on the host (in an allowed folder) or an https git URL such as https://github.com/example/repo.git#main. tag is the image name, for example myapp:latest. dockerfile is a path inside the context. Build args are visible in the image history: do not put real secrets in them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| host | No | ||
| pull | No | ||
| target | No | ||
| confirm | No | ||
| context | Yes | ||
| no_cache | No | ||
| platform | No | ||
| build_args | No | ||
| dockerfile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |