Skip to content

Add Docker BuildKit layer caching to CI builds#356

Open
ptrlrd wants to merge 3 commits into
stagingfrom
feat/ci-build-cache
Open

Add Docker BuildKit layer caching to CI builds#356
ptrlrd wants to merge 3 commits into
stagingfrom
feat/ci-build-cache

Conversation

@ptrlrd
Copy link
Copy Markdown
Owner

@ptrlrd ptrlrd commented May 26, 2026

Summary

  • Add registry-backed BuildKit cache (cache-from/cache-to) to all frontend and backend Docker builds
  • Separate cache tags per environment (stable, beta, staging) to avoid cross-contamination
  • First build populates the cache; subsequent builds reuse unchanged layers (npm ci, pip install, etc.)

ptrlrd added 3 commits May 26, 2026 00:05
Uses registry-backed cache (Docker Hub) so npm ci and unchanged
build layers are reused across runs. Separate cache tags per
environment to avoid cross-contamination.
R2 bucket has PNGs, not webp. CDN paths now request .png;
non-CDN paths still use .webp (Docker build converts those).
R2 bucket should have webp files, not PNGs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant