From 8056a3dc7c4d7ce3ae08f40da35ac3e99a1ebbab Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:09:19 +0200 Subject: [PATCH] docs: add "call" attribute for target Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- docs/bake-reference.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/bake-reference.md b/docs/bake-reference.md index fd0ee7e1..19483210 100644 --- a/docs/bake-reference.md +++ b/docs/bake-reference.md @@ -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` Specifies the location of the build context to use for this target.