How Do I Push an Image to Other Huawei Cloud Regions?
Symptoms
The Build Image and Push to SWR action cannot push images created in regions of Huawei Cloud Chinese Mainland website to SWR in regions of Huawei Cloud International website. It also cannot push images from regions of Huawei Cloud International website to regions of Huawei Cloud Chinese Mainland website.
Cause Analysis
CodeArts Build currently does not support cross-region pushes using the Build Image and Push to SWR action.
Solution
- Go to the CodeArts Build homepage.
- Select the build task, click
, and click Edit. - On the Build Actions page, delete Build Image and Push to SWR.
- Add the Run Docker Commands action. For details, see Docker Commands Supported by CodeArts Build. Run the docker login, docker build, and docker push commands in sequence.
- Save and execute the build task.
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