Skip to content

Commit ff52920

Browse files
authored
added docs for new build.env table
Signed-off-by: Sai Kiran Maggidi <[email protected]>
1 parent 966f944 commit ff52920

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/docs/reference/config/builder-config.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ A [builder][builder] configuration schema is as follows:
7373
> at the time of `pack`'s release. In other words, for a particular version of `pack`, this default
7474
> will not change despite new lifecycle versions being released.
7575
76+
- #### `build.env` _(optional)_
77+
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
78+
79+
- **`name`** _(string, required)_\
80+
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
81+
82+
- **`value`** _(string, required)_\
83+
The value of the given name/key of the Environment Variable overriden to
84+
7685
### Supported archives
7786

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

0 commit comments

Comments
 (0)