Builds a container image without creating a deployment. Returns a presigned URL for uploading source code. After upload, the image will be built and stored in the registry, but no agent, function, sandbox, or job will be created or updated.
OAuth2 authentication with JWT tokens
Name of the image to build
Resource type (agent, function, sandbox, job)
Runtime generation (e.g., mk3). Defaults to mk3 if not specified.
A pre-built Docker image reference (e.g., docker.io/myorg/myimage:latest). When provided, the build step is skipped and the image is used directly as the source for the resource runtime.