Skip to content

Commit

Permalink
Merge pull request #2795 from dvdksn/bake-docs-call-check
Browse files Browse the repository at this point in the history
docs: add "call" attribute for target
  • Loading branch information
crazy-max authored Nov 18, 2024
2 parents 3b943bd + 8056a3d commit 55a544d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/bake-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 55a544d

Please sign in to comment.