This plugin is an extension of the jobcacher-plugin that allows you to store the caches in OCI compliant registries like using ORAS
Warning
The ORAS Java SDK is currently in alpha state and might impact the stability of this plugin.
It's configuration and APIs might change in future releases
Currently, caches are stored "as-is", under a configurable namespace
registry. This would require some update on jobcacher
to support bundling OCI artifact with multiple layer or use referrer.
On ZOT
On Artifactory OCI
On Harbor
You only need to configure the extension to use ORAS under System Configuration.
See jobcacher-plugin for usage in jobs and pipelines.
For local testing you can use ZOT to start a registry
docker run -d -p 5000:5000 ghcr.io/project-zot/zot-linux-amd64:v2.1.2
Warning
Not using credentials is not recommended and will setup insecure
registry mode and skip TLS verification
This should only be used when testing against a local registry
See CONTRIBUTING
Licensed under MIT, see LICENSE