Docs / Deploys

Clear build cache

Force a clean Docker build without layer cache. Use this when dependency or base-image layers are stale and a normal deploy keeps reusing cached steps.

From the dashboard

  1. Open the service Settings tab.
  2. In the Deploy section, click Clear cache & deploy.

API

http
POST /v1/services/{serviceId}/deploys
{ "clearCache": true }

The deploy queue passes clearCache to the runtime, which runs docker build --no-cache for that build. See also How deploys work.