- Combine the pull secrents from Quay and the one from the local registry
jq -s '.[0] * .[1]' pull-secret.json local-auth.json > pull-secret-2.json
export AIRGAP_SECRET_JSON='pull-secret-2.json'
export OCP_SUBRELEASE=4.3.12-x86_64
export AIRGAP_REG='registry.example.com:5000'
./oc adm release mirror -a ${AIRGAP_SECRET_JSON} --insecure=true \
--from=quay.io/openshift-release-dev/ocp-release:${OCP_SUBRELEASE} \
--to-release-image=${AIRGAP_REG}/ocp4/ocp-release:${OCP_SUBRELEASE} \
--to=${AIRGAP_REG}/ocp4/ocp-release