Help Center/ CodeArts Build/ FAQs/ Creating Images and Pushing to SWR/ How Do I Push Images to Other Tenants?
Updated on 2023-11-28 GMT+08:00

How Do I Push Images to Other Tenants?

Symptoms

When an image is created and pushed to the SWR repository, error message DEV.CB.0210043 is displayed, indicating that the Docker image fails to be created.

Solution

  1. Log in to CodeArts Build.
  2. Select the corresponding build task, click in the row of the task, and click Edit.
  3. On the Build Actions page, configure Build Image and Push to SWR.
  4. Click Manage Accounts.

  5. Click Create Endpoint and select IAM user.

  6. In the dialog box displayed, set parameters as shown in the following figure.

    To obtain the access key ID and secret access key, perform the following steps:

    1. Click Console in the upper left corner of the page.
    2. In the upper right corner of the page, click the username and select My Credentials.
    3. Click Access Keys in the navigation pane.
    4. Click Create Access Key, enter a description, and click OK.

    5. In the dialog box that is displayed, click Download to download the key information to the local PC.

  7. Select the service endpoint created in Step 6 for the IAM account in Step 4.