Skip to content

Commit

Permalink
docs: fix metadata section for build command
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 30, 2024
1 parent f4da6b8 commit 199890f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/reference/buildx_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,12 @@ $ cat metadata.json
> - `max` sets full provenance.
> - `disabled`, `false` or `0` doesn't set any provenance.
> **Note**
>
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
> include them.
### <a name="network"></a> Set the networking mode for the RUN instructions during build (--network)

Available options for the networking mode are:
Expand All @@ -601,12 +607,6 @@ Available options for the networking mode are:

Find more details in the [Dockerfile reference](https://docs.docker.com/reference/dockerfile/#run---network).

> **Note**
>
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
> include them.
### <a name="no-cache-filter"></a> Ignore build cache for specific stages (--no-cache-filter)

The `--no-cache-filter` lets you specify one or more stages of a multi-stage
Expand Down

0 comments on commit 199890f

Please sign in to comment.