| `CNB_BUILDER_IMAGE`| The CNB builder image used to build your application image<br/>_depending on your needs, [choose the most appropriate one](https://paketo.io/docs/concepts/builders/#what-paketo-builders-are-available)_ | `registry.hub.docker.com/paketobuildpacks/builder:base` |
| `CNB_PLATFORM_API`| The CNB [platform API version](https://github.com/buildpacks/spec/blob/main/platform.md#platform-api-version) | `0.9` |
| `builder-image` / `CNB_BUILDER_IMAGE` | The CNB builder image used to build your application image<br/>_depending on your needs, [choose the most appropriate one](https://paketo.io/docs/concepts/builders/#what-paketo-builders-are-available)_ | `registry.hub.docker.com/paketobuildpacks/builder:base` |
| `platform-api` / `CNB_PLATFORM_API` | The CNB [platform API version](https://github.com/buildpacks/spec/blob/main/platform.md#platform-api-version) | `0.9` |
### Available Builders
Depending on your needs and preferences, you are free to choose whichever CNB compliant builder (simply override the `CNB_BUILDER_IMAGE` variable):
| [Google](https://github.com/GoogleCloudPlatform/buildpacks) | `gcr.io/buildpacks/builder:v1` | Ubuntu 18 base image with buildpacks for .NET, Go, Java, Node.js, and Python |
| [Heroku](https://github.com/heroku/builder) | `registry.hub.docker.com/heroku/buildpacks:20` | Base builder for Heroku-20 stack, based on ubuntu:20.04 base image |
@@ -62,10 +85,10 @@ In practice:
The **snapshot** and **release** images are defined by the following variables:
| Name | Description | Default value |
| Input / Variable | Description | Default value |
| `CNB_APP_DIR`| Absolute root directory in final image | `/workspace` |
| `CNB_SRC_APP_DIR` | Relative path to the application source code base directory in your repository | `.` |
| `app-dir` / `CNB_APP_DIR` | Absolute root directory in final image | `/workspace` |
| `src-app-dir` / `CNB_SRC_APP_DIR` | Relative path to the application source code base directory in your repository | `.` |
<!--
@@ -151,7 +174,7 @@ If you selected an alternate Builder and Buildpacks (by overriding the `CNB_BUIL
This job produces _output variables_ that are propagated to downstream jobs (using [dotenv artifacts](https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#artifactsreportsdotenv)):
| `CNB_PROD_PUBLISH_STRATEGY`| Defines the publish to production strategy. One of `manual` (i.e. _one-click_), `auto` or `none` (disabled). | `manual` |
| `skopeo-image` / `CNB_SKOPEO_IMAGE` | The Docker image used to run [skopeo](https://github.com/containers/skopeo) | `quay.io/skopeo/stable:latest` |
| `prod-publish-strategy` / `CNB_PROD_PUBLISH_STRATEGY`| Defines the publish to production strategy. One of `manual` (i.e. _one-click_), `auto` or `none` (disabled). | `manual` |
This job produces _output variables_ that are propagated to downstream jobs (using [dotenv artifacts](https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#artifactsreportsdotenv)):