From 6bbe59697aef8de9400796268d3edf0358de0b93 Mon Sep 17 00:00:00 2001
From: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Date: Wed, 3 Jul 2024 19:46:39 +0200
Subject: [PATCH] docs: link to build ref page for --call and --check ref with
bake
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
---
docs/reference/buildx_bake.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/reference/buildx_bake.md b/docs/reference/buildx_bake.md
index 0623f1f4541..2d21b5d3fb2 100644
--- a/docs/reference/buildx_bake.md
+++ b/docs/reference/buildx_bake.md
@@ -16,8 +16,8 @@ Build from a file
| Name | Type | Default | Description |
|:------------------------------------|:--------------|:--------|:----------------------------------------------------------------------------------------------------|
| [`--builder`](#builder) | `string` | | Override the configured builder instance |
-| `--call` | `string` | `build` | Set method for evaluating build (`check`, `outline`, `targets`) |
-| `--check` | `bool` | | Shorthand for `--call=check` |
+| [`--call`](#call) | `string` | `build` | Set method for evaluating build (`check`, `outline`, `targets`) |
+| [`--check`](#check) | `bool` | | Shorthand for `--call=check` |
| [`-f`](#file), [`--file`](#file) | `stringArray` | | Build definition file |
| `--load` | `bool` | | Shorthand for `--set=*.output=type=docker` |
| [`--metadata-file`](#metadata-file) | `string` | | Write build result metadata to a file |
@@ -53,6 +53,14 @@ guide for introduction to writing bake files.
Same as [`buildx --builder`](buildx.md#builder).
+### Invoke a frontend method (--call)
+
+Same as [`build --call`](buildx_build.md#call).
+
+#### Call: check (--check)
+
+Same as [`build --check`](buildx_build.md#check).
+
### Specify a build definition file (-f, --file)
Use the `-f` / `--file` option to specify the build definition file to use.