Skip to content

Create Builds

A build packages a component’s source code into an OCI artifact, and stores it in your organization’s local OCI registry. Each deploy of the component will begin by syncing a build artifact from the org registry to an install’s registry.

Creating a Build

Creating a build is simple.

Terminal window
nuon builds create -c {component_id}

Monitoring Builds

Once a build has been created, you can view its status using the CLI.

Terminal window
nuon builds get -c {component_id} -b {build_id}

Debugging Builds

If a build fails, you can look at the logs to see why.

Terminal window
nuon builds logs -c {component_id} -b {build_id}

If the issue is not apparent from the logs, or there are no logs, look at the build plan for more information. A plan is created for each build, and it contains all the information used to execute the build job.

Terminal window
nuon builds print-plan -c {component_id} -b {build_id} | jq