Skip to content

ci(release): move docker buildx registry cache off the zilla image package - #2440

Merged
jfallows merged 1 commit into
developfrom
claude/buildcache-zilla-packages-jph7rt
Aug 27, 2026
Merged

ci(release): move docker buildx registry cache off the zilla image package#2440
jfallows merged 1 commit into
developfrom
claude/buildcache-zilla-packages-jph7rt

Conversation

@jfallows

Copy link
Copy Markdown
Contributor

Description

The release workflow's docker/build-push-action steps use cache-to: type=registry,...,mode=max for the multi-arch buildx layer cache. That backend publishes the cache as a real manifest under the given ref, which was landing as extra buildcache/buildcache-alpine versions inside the public ghcr.io/aklivity/zilla package alongside the actual release images.

This moves cache-from/cache-to for both the main and alpine image builds to a dedicated ghcr.io/aklivity/zilla-buildcache package (:latest and :alpine tags), keeping ghcr.io/aklivity/zilla limited to real release versions. type=registry is kept rather than switching to type=gha, since GitHub Actions cache's per-repo size cap and multi-platform scope collisions were the reason this repo moved to the registry backend in the first place.

Note: the first release run after this merges will create a new zilla-buildcache package in GHCR. Its visibility will need to be manually confirmed/set to private in the org's package settings, since new packages don't automatically inherit the source repo's visibility.


Generated by Claude Code

…ckage

cache-to with type=registry publishes the buildx layer cache as a real
manifest under the given ref, so it was showing up as extra buildcache/
buildcache-alpine versions in the public ghcr.io/aklivity/zilla package.
Point cache-from/cache-to at a dedicated ghcr.io/aklivity/zilla-buildcache
package instead, keeping the release image's package limited to real
release versions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TPozwovLazfMf5d1ei5MmL

@jfallows jfallows left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

LGTM

@jfallows
jfallows merged commit 792101b into develop Aug 27, 2026
3 checks passed
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