Skip to content

Support importing external cache#36

Merged
ktock merged 1 commit intomainfrom
remote-cache
Jun 3, 2022
Merged

Support importing external cache#36
ktock merged 1 commit intomainfrom
remote-cache

Conversation

@ktock
Copy link
Copy Markdown
Owner

@ktock ktock commented Jun 3, 2022

Depends-on: ktock/buildkit@9913a91

This commit adds --cache-from flag to buildg debug to load caches from external location like registries.

$ buildg.sh debug --cache-from=ghcr.io/ktock/myimagecache:debug /tmp/buildctx/

One of the use-cases is to inspect the remotely cached build emitted from the remotely performed build (e.g. on Kubernetes).
See docs/cache-from.md for details and the example.

Signed-off-by: Kohei Tokunaga <[email protected]>
@ktock ktock merged commit 327420a into main Jun 3, 2022
@ktock ktock deleted the remote-cache branch June 3, 2022 07:06
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.

1 participant