Gitlab is a web-based DevOps platform. The Auto DevOps feature uses pack
to build applications prior to deploying them.
To use the CNB integration, you need to configure the Auto DevOps feature, as discussed in the DevOps guide. At that point, you can opt in to using Cloud Native Buildpacks by following the steps in their CNB documentation.
This may look like the following in your .gitlab-ci.yml
file:
include:
- template: Auto-DevOps.gitlab-ci.yml
variables:
AUTO_DEVOPS_BUILD_IMAGE_CNB_ENABLED: "true"