Skip to main content
If the service image is stored in a Region of the GPU Cloud, you can create a push rule to synchronize matching images to projects in other regions or to connected external repositories. Before synchronization, determine the source image repository path, tag scope, and target project to avoid synchronizing unnecessary versions.

Pre-Operation Confirmation

  • Prepare the images to be synchronized in the source region.
  • When synchronizing to an external repository, obtain the repository access address. If the repository requires authentication, obtain the corresponding credentials.

Connect an External Repository (Optional)

If the target is another region of the GPU Cloud, you can skip this section. You only need to add an external repository endpoint before synchronizing to an external repository.
  1. Log in to the GPU Cloud console.
  2. Go to STORAGE > Registry and select the region where the source image is located.
  3. Open the Replication tab.
  4. Click to expand the Registry Endpoints section, then click Add Endpoint. Registry Endpoints Region
  5. Enter the external repository connection information.
  6. Click Confirm. The URL and credentials are validated upon submission. If the endpoint is unavailable, check the external repository address, network connectivity, username, and password before creating a synchronization rule. When synchronizing images between GPU Cloud regions, you do not need to add an external repository endpoint.

Create Synchronization Rule

  1. On the Replication tab, click Create Replication Rule.
  2. On the Create Sync Rule page, configure the synchronization rule. Basic information: Source Registry: Destination Registry: Synchronization Rules:
  3. Submit the rule and confirm that the new rule appears in the rule list. When using manual triggering, you also need to synchronize the rule once.

Confirm Synchronization Results

View the execution records for the corresponding rule on the Replication tab.
  • If a task fails, view its logs and focus on checking the source image path, label matching, target project, and external repository connection.
  • After successful execution, switch to the target region or target repository and confirm that the image has been added to the intended project.
To import images from an external repository into the Registry in the current region, see Import Images from an External Repository.