- Documentation
Container Registry
Artifact repository AR
Getting started
Upload and download packages in AI format
Getting started
Upload and download packages in AI format
Upload and download packages in AI format
The artifact repository supports hosted artifacts, allowing users to create artifact repositories and upload and download artifacts. This article explains how to quickly use the artifact repository to upload and download AI format package.
Prerequisites
- To allow IAM users to operate artifact repositories, ensure that relevant artifact repository policies and role authorizations have been completed. For detailed operating instructions, refer to Permission Management.
Procedure
Step 1: Create instance
- In the left navigation bar, click Instances. Then, in the Instances area on the right page, click Create a Basic Edition Instance.
- Configure the instance parameters.
- Click Confirm to navigate to the Confirm Order interface.
- After confirming the configuration details, billing type, purchase quantity, and price in the order, if there are no issues, check the box for I have read and agreed to the "Service Terms for the Basic Edition of Artifact Repository".
- Click confirm and wait for the system to complete instance creation.
Step 2: Create a repository
- In the left navigation bar, select Instances. In the Instances area on the right page, click to enter the artifact repository instance.
- At the top of the left navigation bar, select the AI package format, and then in the menu bar, choose Repository Management and click on New Repository to enter the repository configuration page.
- Configuration parameters of the artifact repository.
tip
For the meanings of different parameters when creating a repository, refer to Create AI repository. Step 3: Configure repository credentials
- In the dropdown menu at the top of the left navigation bar, select the AI package format, and in the left navigation bar, select Identity and Access Management > settings.
- Choose the Permanent Access Credential tab. Click Set Permanent Credential. You can now configure this artifact repository's permanent access credentials.
Step 4: Upload a package
- Log in to your local environment (MAC/Linux), and execute the following command to upload AI packages to the artifact repository.
- Click the Enter key to complete the push packages to the repository.
Step 5: Download package
- Log in to the local environment (MAC/Linux), and use the following command to download AI packages from the artifact repository.
- Click the Enter key to pull packages.
View results
- Use a command to upload the package.
- Once you enter the artifact repository, you can view the uploaded packages.
Last updated: 2025.10.24 11:20:36