# How to build once and deploy to multiple services with Render build reuse

- Date: 2026-11-30T22:20:36.555Z
- URL: https://render.com/articles/how-to-build-once-and-deploy-to-multiple-services-with-render-build-reuse

You can build an app once on Render and deploy that same build to several services or environments. Build reuse links one build source to multiple services, so an API and a worker from the same repo no longer need separate builds. This guide explains the model, walks through an API-and-worker example, and covers configuration, promotion, billing, and limits.

## One codebase, many builds

Deploying the same application across multiple services can lead to repeated build work and extra deployment coordination. Build reuse offers a way to share one build across services.

One common architecture is an API web service and a background worker built from the same repo. By default, each service runs its own build. On Render, every push to a linked branch rebuilds and redeploys each service that tracks it.

With build reuse, you build once and deploy that one build to several services. This reduces the number of redundant builds and enables your services to run a consistent artifact.

Below are some common situations where teams work around separate builds today, and how build reuse applies to each:

- *Same repo, multiple services: *Without build reuse, each service rebuilds the same code on every push. With build reuse, you link the services to one build source so a single build serves all of them.
- *One Docker image, multiple services:* Without build reuse, teams typically write their own CI scripts to deploy the image to each service. With build reuse, you link those services to an image-backed build source. Check the [build reuse docs](https://render.com/docs/build-reuse) to learn more about how image-backed sources trigger deploys.
- *Staging-to-production promotion:* Without build reuse, production runs its own build, which produces a new artifact instead of the one you tested. With build reuse, you deploy the specific build you validated on staging.

## How build reuse works

Build reuse relies on three concepts:

- A *build source* is the place where the shared build is produced.
- A *reusable build* is the artifact that a successful build produces from the build source.
- *Linked services* are services that deploy the reusable build instead of building their own.

A build source can be Git-backed or image-backed. For ordinary Render services, deploy defaults differ between Git-backed and image-backed sources. Git-backed services auto-deploy by default when you push to the linked branch, but image-backed services don't redeploy automatically when you push a new image to their tag.

Auto-deploys require a connected Git provider. These are general service defaults, not build reuse behavior. The build reuse docs describe how each source type behaves as a build source and list any additional limitations.

Note that build reuse differs from [build caching](https://render.com/docs/deploy-nextjs-app#caching-nextjs-builds-optional) or [rollbacks](https://render.com/docs/rollbacks):

| | What's reused | Scope | Triggered by |
| --- | --- | --- | --- |
| Rollback artifact reuse | Prior build retained for rollbacks | Same service | Rollback action |
| Build reuse | Complete successful build | Multiple linked services or environments | Intentional linking |

Caching makes a rebuild faster. Build reuse avoids the rebuild entirely.

## Example: one build for an API and a worker

Suppose your repo contains both an HTTP API and a queue consumer. A [web service](https://render.com/docs/web-services) serves the API, and a [background worker](https://render.com/docs/background-workers) runs code that doesn't receive incoming requests, such as processing jobs from a queue.

This example uses a staging and a production copy of each service, and promotes a tested build from staging to production without rebuilding it. Adapt the pattern to your own environments:

1. Create a build source from the shared repo or image.
2. Link the staging API web service and the staging worker to the build source.
3. Link the production API web service and the production worker to the same build source, with auto-deploy turned off on both production services. You can also turn off auto-deploy in the Blueprint by setting `autoDeployTrigger: off`.
4. When a new build succeeds, deploy it to the staging API and staging worker, and validate both services.
5. Deploy that same successful build to the production API and production worker. Select the specific build you validated on staging, so production runs the tested artifact without a rebuild.
6. View deploys on each service's Deploys page in the Render Dashboard.

For exact setup steps and the controls for selecting a build, follow the [build reuse docs](https://render.com/docs/build-reuse).

The services share the build, but they don't share a start command. The API starts its HTTP server, and the worker starts its queue consumer.

## Build-time vs. runtime configuration

Build reuse splits configuration into two parts. Build-time configuration belongs to the build source and is baked into the shared artifact. Runtime settings, on the other hand, belong to *each* linked service.

Environment variables are config values you apply to a service to customize its behavior at build and runtime. With build reuse, set the values your build needs on the build source, and set runtime values on each linked service.

A shared build doesn't make runtime environments identical. Each service keeps its own settings. For example, a service's compute plan determines the CPU and RAM for each of its instances.

If your build needs a value, set it where the build runs, not only on a linked service. Builds run on separate compute and cannot access the resources of your running service instance.

## Choosing which build each service runs

Two controls decide which build each linked service runs.

Auto-deploy determines whether a linked service automatically deploys each successful new build. You can skip an auto-deploy or disable auto-deploys entirely. In a Blueprint, `autoDeployTrigger: off` turns off auto-deploys for a service.

Promote a tested build without rebuilding it. For example, you can validate a build on a staging service and then promote that same build to production. Check the [build reuse docs](https://render.com/docs/build-reuse) for the most up-to-date way to select a build. For Render's general manual deploy options, see [Deploying on Render](https://render.com/docs/deploys).

Promotion isn't an automatic approval gate. Safe staging-to-production promotion depends on your deploy controls. Ensure that auto-deploy is disabled on production where needed.

## Costs, supported services and limits

Builds and other pipeline tasks consume pipeline minutes. The build from your build source counts toward the allowances below:

| Workspace plan | Standard pipeline minutes | Performance pipeline |
| --- | --- | --- |
| Hobby | 500 mins per month, then $5 per 1K mins | N/A |
| Pro | 1K mins per month, then $5 per 1K mins | $25 per 1K mins |
| Scale | 5K mins per workspace per month, then $5 per 1K mins | $25 per 1K mins |

The Performance tier has no included monthly minutes. Track your pipeline minutes usage on the [Billing page](https://dashboard.render.com/billing#unbilled-charges). See [Render pricing](https://render.com/pricing) and the [build pipeline docs](https://render.com/docs/build-pipeline) for details. Your savings depend on your build times and how many services you link.

Build reuse supports specific service types and has defined limitations for each source type. Before you link a service, confirm the following in the [build reuse docs](https://render.com/docs/build-reuse):

- Which service types can link to a build source.
- Which limitations apply to Git-backed build sources.
- Which limitations apply to image-backed build sources.

## When build reuse fits

Build reuse is a good fit when multiple services run the same code, you want to promote a tested artifact without rebuilding, and your service types are supported.

To request access to the build reuse feature, [fill out this form](https://forms.gle/CayD1DaJvDsAjVtG7), and the Render product team will be in touch.

## Frequently asked questions

###### Is build reuse available in every workspace?

No. The feature is in limited early access. Check the [build reuse docs](https://render.com/docs/build-reuse) for availability and supported service types. To request access to the build reuse feature, [fill out this form](https://forms.gle/CayD1DaJvDsAjVtG7).

###### Why can't my build read a value I set on a linked service?

Builds run on separate compute and cannot access the resources of your running service instance. Set build-time values on the build source instead.

###### How do I stop production from deploying every new build?

You can skip a specific auto-deploy or turn auto-deploys off completely. Then deploy the tested build to production deliberately.

###### Where can I see how many pipeline minutes my builds use?

Your Billing page shows the current month's pipeline-minute usage. Performance-tier builds have no included monthly minutes.

