You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improper handling of trailing forward slash in registry.path for DWOC #1588
When specifying the registry path in the DWOC manifest, if a '/' is present at the end of the path, pushing a backup to the specified registry fails, as it adds an additional '/' to the path between the username and the target repository. This manifests in an error that says:
Please make sure the provided reference is in the form of /[:tag|@digest]
How To Reproduce
Steps to reproduce the behavior:
Create a DWCO resource and specify the registry path with an ending '/', such as "quay.io//"
Create a DW resource
Force a backup by stopping the DW resource
Inspect the logs of the backup pod, you should see the error: Please make sure the provided reference is in the form of /[:tag|@digest]
Expected behavior
The registry path should be handled correctly whether it is specified with, or without an ending '/'. If present, remove it, otherwise, leave it as is.
Activity
fix: handle trailing slashes in registry path (devfile#1588)
fix: handle trailing slashes in registry path (devfile#1588)
fix: handle trailing slashes in registry path (devfile#1588)
fix: handle trailing slashes in registry path (#1588) (#1592)