A significant percentage of GitHub Actions workflows use service containers to run databases, caches, and other dependencies alongside their jobs. Every time a workflow runs, these containers must be pulled from a registry and extracted before the job can begin. This adds seconds to minutes of overhead to every CI run.With Docker container caching, Blacksmith pre-hydrates commonly used containers directly onto the runners. When your workflow starts, the containers are already present and ready to go. The pull and extraction steps become a no-op, shaving valuable time off every job in your repository.
The “Initialize Containers” step in GitHub Actions is where service containers are pulled and started. With Docker container caching, this step goes from taking over a minute to completing in about a second.Before: 1m 20s to initialize containers