hc registry command group provides a comprehensive set of tools to manage Harness Artifact Registries, including creating, configuring, and managing registries, as well as migrating artifacts from other registry providers.
Available Commands
| Command | Description |
|---|---|
| list | List all registries in your account |
| get | Get detailed information about registries |
| create | Create a new registry |
| delete | Delete a registry |
| migrate | Migrate artifacts from external registries |
| configure | Configure package manager clients |
| metadata | Manage registry metadata |
| firewall | Audit and analyze dependencies for security |
Alias
You can usereg as a shorthand alias for registry:
Common Use Cases
Viewing Your Registries
List all registries to see what’s available:Configuring Package Managers
Configure npm to use your Harness registry:Managing Metadata
Add metadata to registries for organization:Migrating Artifacts
Migrate artifacts from JFrog or Nexus:Security Auditing
Audit dependencies for vulnerabilities:Supported Package Types
Harness Artifact Registry supports the following package types:- DOCKER - Docker container images
- HELM - Helm charts
- MAVEN - Java/Maven artifacts
- NPM - Node.js packages
- NUGET - .NET packages
- PYTHON - Python packages (PyPI)
- GO - Go modules
- GENERIC - Generic file storage
- CONDA - Conda packages
- COMPOSER - PHP packages
- DART - Dart/Flutter packages
Registry Hierarchy
Registries can be created at different levels:- Account Level:
registry-name - Organization Level:
org/registry-name - Project Level:
org/project/registry-name