oc-mirror Fails with 'error: parsing reference "": could not parse reference:' Error

Solution Verified - Updated -

Issue

Running the oc-mirror command fails with the error:

$oc-mirror --config imageset-config.yaml docker://test.example.registry:8443 --dest-skip-tls
Logging to .oc-mirror.log
Checking push permissions for test.example.registry:8443
Creating directory: oc-mirror-workspace/src/publish
Creating directory: oc-mirror-workspace/src/v2
Creating directory: oc-mirror-workspace/src/charts
Creating directory: oc-mirror-workspace/src/release-signatures
error: parsing reference "": could not parse reference:

This issue does not occur in oc-mirror version v2.

Environment

  • Red Hat OpenShift Container Platform 4.x
  • oc-mirror v1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content