mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
docs: add "call" attribute for target
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
9f0ebd2643
commit
8056a3dc7c
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user