docs: add "call" attribute for target

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-10-17 14:09:19 +02:00
parent 9f0ebd2643
commit 8056a3dc7c

View File

@ -359,6 +359,21 @@ target "app" {
} }
``` ```
### `target.call`
Specifies the frontend method to use. Frontend methods let you, for example,
execute build checks only, instead of running a build. This is the same as the
`--call` flag.
```hcl
target "app" {
call = "check"
}
```
For more information about frontend methods, refer to the CLI reference for
[`docker buildx build --call`](https://docs.docker.com/reference/cli/docker/buildx/build/#call).
### `target.context` ### `target.context`
Specifies the location of the build context to use for this target. Specifies the location of the build context to use for this target.