Skip to content

Speed up Docker Rust builds with caching - #5

Merged
cafca merged 7 commits into
mainfrom
pv/cache-docker-rust-build
Apr 15, 2026
Merged

Speed up Docker Rust builds with caching#5
cafca merged 7 commits into
mainfrom
pv/cache-docker-rust-build

Conversation

@cafca

@cafca cafca commented Apr 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • enable GitHub Actions cache for docker/build-push-action
  • add BuildKit cache mounts for npm and Cargo registry/git/target data
  • copy the Rust binary out of the cached target dir before the runtime stage

Validation

  • git diff --check
  • parsed .github/workflows/ci.yml as YAML
  • docker buildx build --check -f backend/Dockerfile .

@cafca
cafca merged commit 112c4a5 into main Apr 15, 2026
5 checks passed
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