Use this procedure to mirror specific plugins by specifying their OCI URLs directly.
Procedure
-
Download the mirroring script:
$ curl -sSLO https://raw.githubusercontent.com/redhat-developer/rhdh-operator/refs/heads/release-{product-version}/.rhdh/scripts/mirror-plugins.sh -
To mirror individual plugins by specifying their OCI URLs directly, run the mirroring script by using the
bashcommand with the appropriate set of options:For example:
bash mirror-plugins.sh \ --plugins oci://quay.io/rhdh-plugin-catalog/backstage-community-plugin-quay:1.8.0--1.22.1 \ oci://quay.io/rhdh-plugin-catalog/backstage-community-plugin-github-actions:1.8.0--0.11.1 \ --to-registry <my.registry.example.com>where:
--to-registry <my.registry.example.com>-
Enter the URL for the target mirror registry where you want to mirror the catalog index.