Skip to content

Commit aa93eea

Browse files
authored
Merge branch 'main' into dependabot/github_actions/buildpacks/github-actions-5.5.0
2 parents 77e26a1 + ca372a4 commit aa93eea

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,23 @@ A [builder][builder] configuration schema is as follows:
9595
> at the time of `pack`'s release. In other words, for a particular version of `pack`, this default
9696
> will not change despite new lifecycle versions being released.
9797
98+
- #### `build.env` _(optional)_
99+
The [[[build.env]]](https://github.com/buildpacks/spec/blob/main/buildpack.md#environment-variable-modification-rules) is used to specify [operator-defined](https://github.com/buildpacks/spec/blob/main/platform.md#operator-defined-variables) build-time environment variables for buildpacks. Set `CNB_BUILD_CONFIG_DIR` in pack's environment to override the default directory (`/cnb/build-config/env`) where environment variable files are stored within the builder.
100+
101+
- **`name`** _(string, required)_\
102+
The name/key of the environment variable.
103+
104+
- **`value`** _(string, required)_\
105+
The value of the environment variable.
106+
107+
- **`suffix`** _(string, optional)_\
108+
The type of action used to modify the environment variable when end-users or buildpacks define the same name/key, one of [`default`](https://github.com/buildpacks/spec/blob/main/buildpack.md#default), [`override`](https://github.com/buildpacks/spec/blob/main/buildpack.md#override), [`append`](https://github.com/buildpacks/spec/blob/main/buildpack.md#append), or [`prepend`](https://github.com/buildpacks/spec/blob/main/buildpack.md#prepend). Defaults to `default` if this field is omitted. Operator-defined environment variables take precedence over end-user or buildpack-defined environment variables.
109+
110+
- **`delim`** _(string, optional)_\
111+
The delimiter used to concatenate two or more values for the given `name`.
112+
113+
> The `delim` is required when `suffix` is one of `append` or `prepend`.
114+
98115
### Supported archives
99116

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

0 commit comments

Comments
 (0)