Skip to content

Build artifacts from source code

Premium feature

The Workload API is a premium feature. Contact your DataRobot representative or administrator for information on enabling the feature.

An artifact can reference a container image you already built (imageUri), or it can build one from your source code by setting imageBuildConfig on a container instead—often called code to Workload—so the same platform-managed process produces every image, with no local docker build or registry push in between. This section covers that path end to end: pointing an artifact at your code, triggering and tracking the build, reading its logs, and a full worked example.

Applies only to artifacts built from source

Every page in this section assumes an artifact with imageBuildConfig and a codeRef. If your artifact references a pre-built image with imageUri, there's nothing here to configure or troubleshoot.

Resource Description
Build an image from source code Point an artifact at your code with codeRef, and choose a provided or generated Dockerfile.
Trigger and manage builds Start builds, track status, cancel, and interpret build errors.
Build logs Retrieve build output and diagnose a failed build.
Tutorial: Build a Workload from source End-to-end walkthrough from a local project to a running endpoint.