Help Center/ CodeArts Build/ FAQs/ Images/ How Do I Push an Image to Other Huawei Cloud Regions?
Updated on 2025-10-15 GMT+08:00

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

  1. Go to the CodeArts Build homepage.
  2. Select the build task, click , and click Edit.
  3. On the Build Actions page, delete Build Image and Push to SWR.
  4. 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.
  5. Save and execute the build task.