cargo-quickstart
Last updated on
Learn how to create a Cargo Artifact Registry, configure an upstream proxy, and publish or install Cargo packages using the CLI.
Cargo Artifact Registry
Prerequisites
- Ensure you have the Cargo CLI (
cargo) installed on your local machine. - Access to a Harness account with appropriate permissions to create registries and connectors.
Create a Cargo artifact registry
- Interactive Guide
- Step-by-Step
Create your registry
- Navigate to the Artifact Registry module in your Harness project.
- Click on New Artifact Registry.
- In the Registry Type dropdown, select Cargo Registry.
- Provide a Registry Name.
registry name criteria
Your registry name must start with a letter and can include lowercase alphanumerics, _, . and -.
- Optionally, add a Description and Labels for better organization.
- Click Create Registry to finalize.
private registry
This registry will serve as your private Cargo registry within Harness.