Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Summary

The buildkit-cache-dance v3.3.1 upgrade deprecated cache-source in favor of cache-map. Using the old input caused permission errors when the action attempted to create cache directories at system root paths like /var/cache/apk.

Why

Resolves Docker workflow build failures introduced by the buildkit-cache-dance major version bump.

What changed

  • Replaced deprecated cache-source: go-build-cache with cache-map JSON mapping
  • Mapped GitHub Actions cache subdirectories to Docker cache mount targets:
    • go-build-cache/apk/var/cache/apk (Alpine packages)
    • go-build-cache/pkg/go/pkg/mod (Go modules)
    • go-build-cache/build/root/.cache/go-build (Go build artifacts)

MCP impact

  • No tool or API changes

Prompts tested (tool changes only)

N/A

Security / limits

  • No security or limits impact

Tool renaming

  • I am not renaming tools as part of this PR

Lint & tests

  • Linted locally with ./script/lint - Not applicable (workflow YAML change only)
  • Tested locally with ./script/test - Not applicable (workflow YAML change only)

Docs

  • Not needed

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/reproducible-containers/buildkit-cache-dance/releases
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…d cache-source

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow build Fix buildkit-cache-dance v3 API: replace deprecated cache-source with cache-map Feb 9, 2026
Copilot AI requested a review from SamMorrowDrums February 9, 2026 21:34
@SamMorrowDrums SamMorrowDrums marked this pull request as ready for review February 9, 2026 21:38
@SamMorrowDrums SamMorrowDrums requested a review from a team as a code owner February 9, 2026 21:38
Copilot AI review requested due to automatic review settings February 9, 2026 21:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Docker publish workflow to align with reproducible-containers/buildkit-cache-dance v3.x’s new input API, fixing CI build failures caused by the deprecated cache-source input.

Changes:

  • Replaced cache-source with cache-map JSON mapping for buildkit-cache-dance v3.3.1.
  • Mapped the existing go-build-cache/ Actions cache subdirectories to the intended BuildKit mount targets (/var/cache/apk, /go/pkg/mod, /root/.cache/go-build).

@SamMorrowDrums SamMorrowDrums merged commit bf20154 into dependabot/github_actions/reproducible-containers/buildkit-cache-dance-3.3.1 Feb 9, 2026
19 checks passed
@SamMorrowDrums SamMorrowDrums deleted the copilot/fix-github-actions-workflow-again branch February 9, 2026 21:41
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.

2 participants