What happened in your environment?
My registry contains multiple repos under nested namespaces
base-images/dotnet/core/sdk
base-images/node
hello-world
samples/helm/wordpress
samples/text
samples/thingthang
samples/txt
I'd like to find the repos under the samples/ namespace
calling oras repo ls demo42.azurecr.io gives an appropriate listing
However, calling oras repo ls demo42.azurecr.io/samples gives:
Error: invalid reference: invalid registry
What did you expect to happen?
list the repos under the /samples namespace. This would also be the case for something like docker that lists repos under an org namespace, although docker hub doesn't support the _catalog API :(
How can we reproduce it?
oras push $REGISTRY/samples/artifact:1.0 \
--config /dev/null:readme/example\
./readme.md:application/markdown
oras repo ls $REGISTRY/samples
What is the version of your ORAS CLI?
0.16.0
What is your OS environment?
wsl2
Are you willing to submit PRs to fix it?
What happened in your environment?
My registry contains multiple repos under nested namespaces
I'd like to find the repos under the samples/ namespace
calling
oras repo ls demo42.azurecr.iogives an appropriate listingHowever, calling
oras repo ls demo42.azurecr.io/samplesgives:Error: invalid reference: invalid registryWhat did you expect to happen?
list the repos under the
/samplesnamespace. This would also be the case for something like docker that lists repos under an org namespace, although docker hub doesn't support the_catalogAPI :(How can we reproduce it?
What is the version of your ORAS CLI?
0.16.0
What is your OS environment?
wsl2
Are you willing to submit PRs to fix it?