//tools/artifact_mirror reads a JSON inventory of Helm chart archives and
OCI images. It verifies staged digests before publishing and verifies the
destination after copying. OCI copies preserve multi-platform indexes.
bazel run //tools/artifact_mirror -- pull --inventory /absolute/path/artifacts.json
bazel run //tools/artifact_mirror -- push --inventory /absolute/path/artifacts.json --owner ORGANIZATION
Direct invocations use helm and oras from PATH. Override either with
--helm or --oras. The default staging directory is out/artifact-mirror.
Push uses FORGEJO_HOST and FORGEJO_API_TOKEN from its caller.
The third-party mirror targets supply the pinned executables, package inventory, and Forgejo login.