Build an image
build_imageBuilds and tags a Docker image from a local folder and Dockerfile, returning build output. Use it to turn source code into a container image for deployment or testing.
Instructions
Build an image from a local folder with a Dockerfile, and tag it. Returns the build's output (its end when long). Uses the network and disk: confirm with the person first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | The tag to give it, e.g. my-app:1.0 | |
| context | Yes | The build's folder (absolute path) | |
| noCache | No | ||
| buildArgs | No | ||
| dockerfile | No | The Dockerfile, when it isn't the context's Dockerfile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| output | Yes | ||
| exitCode | Yes | ||
| truncated | Yes |