Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for new [[build.env]] table in builder.toml #622

Merged
merged 4 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/docs/reference/config/builder-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ A [builder][builder] configuration schema is as follows:
> at the time of `pack`'s release. In other words, for a particular version of `pack`, this default
> will not change despite new lifecycle versions being released.

- #### `build.env` _(optional)_
The [[build.env]] is used to override platform environment variables at build-time. use Env `CNB_BUILD_CONFIG_DIR` to override when building image from cli to change default(`/cnb/build-config`) directory of these build-time environment variables stored
WYGIN marked this conversation as resolved.
Show resolved Hide resolved

- **`name`** _(string, required)_\
The Name/Key of the Environment Variable. If Platform Environment Variable key/name is specified, then it is overridden at build-time else it will create a build-time environment variable with the given `name` that is not defined(key/name doesn't exists) at runtime of the container

- **`value`** _(string, required)_\
WYGIN marked this conversation as resolved.
Show resolved Hide resolved
The value of the given name/key of the Environment Variable overriden to

### Supported archives

Currently, when specifying a URI to a buildpack or lifecycle, only `tar` or `tgz` archive types are supported.
Expand Down
Loading