kaniko/pkg/executor
Natalie Arellano 4d077e2a40
Provide `--cache-repo` as OCI image layout path (#2250)
* Adds the ability to provide `--cache-repo` as an OCI image layout path

- Adds cache.LayoutCache to implement cache.LayerCache interface
- When opts.CacheRepo has "oci:" prefix, instantiates a LayoutCache

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Add integration test for layout cache

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Updates from PR review

Signed-off-by: Natalie Arellano <narellano@vmware.com>

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2022-09-28 10:19:02 -04:00
..
build.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
build_test.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
composite_cache.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache_test.go test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
copy_multistage_test.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
fakes.go chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00
push.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
push_test.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00