Repository navigation
Releases
0.7.1
Fix cache lookup when parallel jobs populate the same Docker image cache.
The post step now uses the same archive path for lookup, restore, and save. Previously, its lookup could miss a cache created by another job because it calculated a different cache version. Both committed action bundles include the fix.
Inputs, outputs, production dependencies, the cache format, and the Node.js 24 runtime are unchanged from 0.7.0.
Validation:
- All 16 tests across six suites pass, with 100% production-code coverage and a regression that fails with the previous lookup.
- Two local bundle builds are identical; CI rebuilds and verifies the committed bundles.
- Real GitHub Actions cache save/restore passes on Ubuntu 22.04, Ubuntu 24.04, and Windows 2025.
- The full hosted Test workflow passes on both the release PR and the exact tagged main commit.
The README now clarifies whole-image caching, runner requirements, and fork attribution. Contributor and security guidance are included; inherited Slack automation has been removed.
Upgrade using the immutable commit pin:
- uses: AndreKurait/docker-cache@e1eb0120c0c16b3f1c6ff1c0ef4ebc9f67f8dc6a # 0.7.1
with:
key: docker-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('compose.yaml') }}Place the step after checkout and before pulling or building images. Replace compose.yaml with the files that determine your images. You can also use AndreKurait/[email protected].
The existing 0.7.0 tag is unchanged. Workflows pinned to that tag or its commit need to update their action reference to receive this fix.
0.7.0
First release from the AndreKurait/docker-cache fork.
To upgrade, change uses: ScribeMD/[email protected] to uses: AndreKurait/[email protected] in your workflows. Dependabot and Renovate will pick this up as the latest version automatically.
Highlights
Runtime
- Upgrade GitHub Actions runtime from
node20tonode24(ScribeMD#49, ScribeMD#51). - Add support for
ubuntu-24.04(ScribeMD#33, ScribeMD#8) andwindows-2025runners (ScribeMD#11).
Fixes
- Bump
@actions/cachefrom v4.0.3 to v6.0.1 (#1) — required for the new GitHub Cache v2 service. - Bump
@actions/corefrom v1.11.1 to v3.0.1 (#2). - Handle Docker startup races on Windows runners (ScribeMD#30).
- Harden image verification and cache cleanup; remove platform-dependent dangling-image assertion (ScribeMD#10, ScribeMD#12).
Build
dist/was previously not rebuilt after the runtime-dep bumps. This release rebuilds the action bundle so it actually reflectspackage.json.tsconfig.jsonnow excludes test sources, soyarn buildproduces adist/consistent withpackage.jsonwithout depending on test-side type fixes.
Changelog
See CHANGELOG.md and the full diff against 0.6.0.
0.6.0
⚠️ Deprecated — please upgrade to0.7.0or laterThis release bundles
@actions/[email protected]. Newer releases of this action upgrade to@actions/[email protected]and the GitHub Actionsnode24runtime. Replaceuses: AndreKurait/[email protected]withuses: AndreKurait/[email protected]in your workflows.
What's Changed
- Update to 0.6.0 with cache v2 compatibility by @AndreKurait in #1
New Contributors
- @AndreKurait made their first contribution in #1
Full Changelog: https://github.com/AndreKurait/docker-cache/commits/0.6.0