#docker
- Optimized Dockerfile for Rust
A multi-stage Rust Dockerfile that caches dependencies with a dummy main.rs before copying source into a slim Debian runtime image.
- Docker Build Secrets in GitHub Actions
Pass a GitHub secret as a docker/build-push-action build argument, then expose it in each needed Dockerfile stage.
- Docker Buildx, GCR, and GitHub Actions Guide
Authenticate and push to Google Container Registry (gcr.io) from GitHub Actions using the docker/build-push-action and Google Cloud Auth.