Quick Start

# Add CI Configuration File

Add a .cnb.yml configuration file in the root directory of your repository.

This file describes how the Cloud Native Build should handle certain events when they occur in the repository.

Push the configuration file to the remote main branch.

A simple configuration file looks like this:

main:
  push:
    - stages:
        - name: echo
          script: echo "hello world"

Then push the configuration file to the remote main branch to trigger the pipeline build.

For more information on the usage of configuration files, please refer to the Configuration File section.