Skip to main content
POST
Start build (v2)

Authorizations

X-API-Key
string
header
required

Path Parameters

templateID
string
required
buildID
string
required

Body

application/json

Exactly one of fromImage or fromTemplate must be given and non-empty.

fromImage
string

Image to use as a base for the template build

Minimum string length: 1
fromTemplate
string

Template to use as a base for the template build

Minimum string length: 1
fromImageRegistry
object
force
boolean
default:false

Whether the whole build should be forced to run regardless of the cache

steps
object[]

List of steps to execute in the template build

startCmd
string

Start command to execute in the template after the build

readyCmd
string

Ready check command to execute in the template after the build

Response

The build has started