Open almasry opened 2 years ago
@almasry We prefer to use the service specific go sdk than bluemix-go because the priority of issues on this project is very less...Can you please use https://github.com/IBM/container-registry-go-sdk this SDK since its handled by respective service team and will always be up to date
Hello Bluemix go team,
We are using the RegistryServiceAPI to inspect some images. The RegistryServiceAPI works just fine for any image (at any region) expect for images in the global
icr.io
registry.We tried solving this by unsetting the region or setting the region to "GLOBAL" but it still doesn't work.
We still get an error when we inspect an image in the
icr.io
orprivate.icr.io
registry.The error received is something like :
We know for sure that the image name is correct and the image is already in the registry and is accessible to the given API key - as we run the
ibmcloud cr image-inspect
to inspect the exact same image and it doesn't throw any error.The output is something like :
Inspecting image 'icr.io/obs/team-name/image:1.11.1'...
OK
How to reproduce this bug ?
Create an image in the global icr.io registry
Login to
ibmcloud
and Inspect the image withibmcloud cr image-inspect
.. it will work just fine.Try to inspect the exact same image with the bluemix-go api - you will get an error similar to the one in the description.
Thanks in advance for your support.