Skip to content

Releases

0.7.1

Choose a tag to compare

@AndreKurait AndreKurait released this 02 Nov 18:13
0.7.1
e1eb012

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.

Changes: #3 and #4.

0.7.0

Choose a tag to compare

@AndreKurait AndreKurait released this 03 Jun 01:13
0.7.0
7a38879

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

Fixes

  • Bump @actions/cache from v4.0.3 to v6.0.1 (#1) — required for the new GitHub Cache v2 service.
  • Bump @actions/core from 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 reflects package.json.
  • tsconfig.json now excludes test sources, so yarn build produces a dist/ consistent with package.json without depending on test-side type fixes.

Changelog

See CHANGELOG.md and the full diff against 0.6.0.

0.6.0

Choose a tag to compare

@AndreKurait AndreKurait released this 16 Apr 21:41
0fe7670

⚠️ Deprecated — please upgrade to 0.7.0 or later

This release bundles @actions/[email protected]. Newer releases of this action upgrade to @actions/[email protected] and the GitHub Actions node24 runtime. Replace uses: AndreKurait/[email protected] with uses: AndreKurait/[email protected] in your workflows.


What's Changed

New Contributors

Full Changelog: https://github.com/AndreKurait/docker-cache/commits/0.6.0