Build

Upload source and build.

Builds from an uploaded source tree instead of a URL, so the source never has to be reachable from the internet. The request body IS the gzipped tarball (Content-Type: application/gzip); metadata goes in the query string. Multipart is not accepted.

post/v1/build/upload

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/build/upload
  • Auth: HTTP bearer

Query parameters

image_tagstring

Tag for the resulting image. Auto-generated if omitted.

dockerfile_pathstring

Path to the Dockerfile within the uploaded tree. Auto-detected if omitted.

build_argsstring

Build-time ARGs as a url-encoded JSON object, e.g. {"VITE_API_URL":"https://api.example.com"}

timeout_secondsinteger

Build timeout in seconds. Default 600, maximum 3600.

Response

Build started

Changes

No recorded changes to this operation across all 1 revision of this API.