Build a Compose project
compose_buildBuild the images of a Compose project's services that have a build (all, or some), without starting anything: to check a Dockerfile change, or to have the images ready.
Instructions
Build the images of a Compose project's services that have a build (all, or some), without starting anything: to check a Dockerfile change, or to have the images ready. Returns the exit code and the build's output (its end when long); a failed build says why at the end. Uses the network and disk: confirm with the person first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Its compose file, when it isn't the folder's compose.yaml | |
| pull | No | Pull newer versions of the base images first | |
| folder | Yes | The Compose project's folder (absolute path), where its compose.yaml is | |
| noCache | No | Build every step again, ignoring the cache | |
| services | No | Only these services; all with a build when missing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| exitCode | Yes | ||
| truncated | Yes |