Merge pull request #2795 from dvdksn/bake-docs-call-check

docs: add "call" attribute for target
This commit is contained in:
CrazyMax 2024-11-18 16:12:57 +01:00 committed by GitHub
commit 55a544d976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 0 deletions

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.