feat(ci): mirror released images to the apoci registry #9
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mirror-to-apoci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pushes released images to
registry.dcunha.io/exikle/<app>in addition togit.dcunha.io/exikle/<app>.Runs after the multi-arch index is assembled, so the build path is unchanged. Only releases mirror — PR builds still stay local and push nothing.
Why regctl and not a second
imagetools create: imagetools only writes manifests that reference blobs already present in the target registry, so aiming it at apoci would publish an index whose layers don't exist there.regctl image copytransfers the blobs and the whole index.apoci namespaces repositories by account domain internally, so
registry.dcunha.io/exikle/<app>lands asdcunha.io/exikle/<app>in its catalog — matching how the fingerjoin chart is published.Verified by hand before opening this: copying
forgejo-runner:12.10.2produceddcunha.io/exikle/forgejo-runnerin the catalog with the OCI index and its linux/amd64 manifest intact.REGISTRY_TOKENis set on the repo.