Back to Buildpacks

Circleci

content/docs/for-platform-operators/how-to/integrate-ci/circleci.md

latest1.1 KB
Original Source

+++ title="CircleCI" aliases=[ "/docs/tools/circleci" ] weight=3 +++

CircleCI is a continuous integration and delivery platform.

The CNB project maintains an integration, called an orb, which allows users to run pack commands inside their pipelines.

<!--more-->

Use

To use the CNB integration, you need to declare that you are using the buildpacks/pack orb, and then use it in your workflow.

For instance, your .circleci/config.yml file may look like this:

yaml
version: 2.1
orbs:
  pack: buildpacks/[email protected]
workflows:
  main:
    jobs:
      - pack/build:
          image-name: sample
          builder: 'paketobuildpacks/builder:base'

For more precise steps, see the pack-orb documentation

References