SKILL

image-cache

Shares Docker build layers and heavy images between cloud sessions through the owner's ghcr.io. Use when a repo's image build is slow on cloud, when a session pulls or pushes ghcr.io images, or when a heavy tool image should be prebuilt once.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Image cache on ghcr.io
  • Access
  • Which shape
  • Reference

A cloud session starts with an empty Docker cache, so every image builds from scratch. The owner's ghcr.io namespace is the shared cache: one session writes it, the next reads it. and below are the GitHub owner and name of the repo being built, lower-cased (git remote get-url origin). The egress proxy logs every ghcr.io request in as the owner (a token with read:packages and write:packages, injected as Authorization: Bearer ). Pull and push with plain docker; GITHUBTOKEN and GHTOKEN hold placeholders, so a docker login would only send the wrong credential. Check it first: curl -s -o /dev/null -w '%{httpcode}' https://ghcr.io/v2/ answers 200. A 403 with invalid token means the environment's ghcr.io secret is wrong (a raw token instead of its base64): a You: item for the owner, not something to work around. Layer cache (the default, for an image the repo builds): BuildKit reads and writes the cache beside the build, so nobody pushes by hand and a changed input simply misses. Add to the repo's single build entry point, per image: --cache-from type=registry,ref=ghcr.io/ / / :buildcache --cache-to type=registry,ref=ghcr.io/ / / :buildcache,mode=max,ignore-error=true. mode=max keeps the

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
Paradiddle131/loadout
Source file
cloud/skills/image-cache/SKILL.md
Fixed revision
d3a1a766645489ce25fb1c6f4ec7113604b6cfb8
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Paradiddle131/loadout · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T09:00:59.776Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.