No Permission to Pull Images When SWR Public Images Are Used
Symptoms
When a build task is executed, the following error information is displayed in the log:
Get https://swr.example.example.com/v2/codeciexample-test/demo/manifests/v1.1: denied: You may not login yet
Cause Analysis
When the build task contains the action Use SWR Public Image, an error is reported because the permission of the Docker image invoked for building is not set to public.
Solution
Log in to SWR, find the image used during the build, edit the image, and set the image type to be public. The procedure is as follows:
- Log in to SWR.
- In the navigation pane on the left, choose My Images, click the image name to go to the image details page, and click Edit in the upper right corner.
- In the edit box, set Type to Public.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot