ko-build / ko-build/ko

Question: can we extract KOCACHE instead of saving it to disk to be able use it between stateless builds?

Open
#809 5 comments 0 reactions 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
8.5k
Forks
447
PR merge metrics
No merged PRs in 30d

Description

AFAIK, KOCACHE only accepts directories as a value. But we couldn't use this cache between stateless builds. For example, each workflow run executes in a fresh VM in GitHub Actions.

It'd be nice if we could use OCI registries to save the cache for ko builds.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how KOCACHE is currently handled and how ko builds run in fresh GitHub Actions VMs. Investigate the requirements and design for storing and retrieving the cache through OCI registries. Done means stateless builds can reuse a KOCACHE-compatible cache between workflow runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.