product-os / flowzone

Reusable, opinionated, zero-conf workflows for GitHub actions
https://flowzone.pages.dev
Apache License 2.0
15 stars 5 forks source link

Use ORAS and ghcr.io for long-lived artifacts #89

Open klutchell opened 2 years ago

klutchell commented 2 years ago

https://oras.land/

The current artifacts are limited to 10gb total per repo and need to be cleaned manually or configured with an expiry.

https://github.com/product-os/node-oci-registry-client could be used to store the versioned source in a registry instead.

klutchell commented 2 years ago

Artifacts are now set to expire after 24 hours, so this is not as urgent as before.

klutchell commented 2 years ago

Tom has a nice wrapper library with simple push and pull functions: https://github.com/product-os/transformers-core/blob/master/lib/registry.ts