Skip to main content
POST
/
api
/
harbor
/
deployments
/
{deployment_id}
/
build
{
  "dockerfile": "FROM python:3.11-slim\\n...",
  "context_tar_base64": "H4sIA...",
  "force": false
}
{
  "build_id": "build_abc123"
}
Trigger a new build for an existing Harbor deployment.
deployment_id
string
required
Deployment ID.
{
  "dockerfile": "FROM python:3.11-slim\\n...",
  "context_tar_base64": "H4sIA...",
  "force": false
}
{
  "build_id": "build_abc123"
}