Skip to content

Commit ffd6cb1

Browse files
committed
fix: Add compressions table
1 parent 1500d09 commit ffd6cb1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/snippets/github-actions-with-prebuilt-docker-images-for-do.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
Deploying an application to DigitalOcean can be done using prebuilt container images stored in a container registry such as [Digital Ocean Container Registry](https://www.digitalocean.com/products/container-registry). Using prebuilt images helps speed up deployment, eliminate the need to install dependencies on the server, and ensure build reproducibility.
22

3-
For production deployments, **prebuilt container images** provide better consistency and reliability. Prebuilt container images in GitHub Actions deploy faster than DigitalOcean-managed builds because the images are built in CI/CD and pushed ready-to-use, while DO builds them during deployment.
4-
5-
For small applications, these GitHub Actions workflows are optional — you can deploy without them. However, for larger projects where the build process requires significant compute resources and memory, these Github actions become essential to ensure successful, stable, and resource-efficient deployments.
3+
| When to use | DO builds from repo (App Platform) | Prebuilt image from GH Actions + DOCR |
4+
| ---------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------ |
5+
| Small applications | Can deploy directly | Can also deploy, but optional for small apps |
6+
| Large applications | May fail or be slow if build requires significant resources and memory | Essential for large projects with high compute/memory requirements |
7+
| Deployment speed | Slower; builds happen during deployment | Faster; images are prebuilt in CI/CD and pushed ready-to-use |
8+
| Reliability | Builds depend on server environment | Better consistency and reproducibility in production |
9+
| Dependencies | Installed on server during build | Already included in prebuilt image |
610

711
See speed comparison below.
812

0 commit comments

Comments
 (0)