Skip to content

docs: add oci-based registry list #338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/user_docs/guides/package-management/4-how-to/9-kpm_oci.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

KCL package management tool supports saving and sharing KCL packages through OCI Registries.

## Default registry
## Default OCI Registry

KCL package management tool uses `ghcr.io` to save KCL packages by default.

Default registry - [https://github.com/orgs/kcl-lang/packages](https://github.com/orgs/kcl-lang/packages)

## Use Custom OCI Registry

There are several hosted container registries with OCI support that you can use to store your KCL module.

+ [Docker Hub](https://docs.docker.com/docker-hub/oci-artifacts/)
+ [Harbor](https://goharbor.io/docs/main/administration/user-defined-oci-artifact/)
+ [Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html)
+ [Azure Container Registry](https://learn.microsoft.com/azure/container-registry/container-registry-oci-artifacts)
+ [Google Artifact Registry](https://cloud.google.com/artifact-registry/docs/helm/manage-charts)
+ [Alibaba Cloud Container Registry](https://help.aliyun.com/acr/)
+ [IBM Cloud Container Registry](https://cloud.ibm.com/docs/Registry)
+ [JFrog Artifactory](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry)

You can adjust the registry and repository name of the OCI registry by the follow methods.

### By environment variable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

KCL 包管理工具支持通过 OCI Registries 保存和分享 KCL 包。

## 默认 registry
## 默认 OCI Registry

KCL 包管理工具默认使用 ghcr.io 保存 KCL 包。

默认 registry - [https://github.com/orgs/kcl-lang/packages](https://github.com/orgs/kcl-lang/packages)

## 自定义 OCI Registry

有几个支持 OCI 的托管容器 Registry,您可以将其用于存储 KCL 模块。

+ [Docker Hub](https://docs.docker.com/docker-hub/oci-artifacts/)
+ [Harbor](https://goharbor.io/docs/main/administration/user-defined-oci-artifact/)
+ [Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html)
+ [Azure Container Registry](https://learn.microsoft.com/azure/container-registry/container-registry-oci-artifacts)
+ [Google Artifact Registry](https://cloud.google.com/artifact-registry/docs/helm/manage-charts)
+ [Alibaba Cloud Container Registry](https://help.aliyun.com/acr/)
+ [IBM Cloud Container Registry](https://cloud.ibm.com/docs/Registry)
+ [JFrog Artifactory](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry)

你可以通过以下方法调整 OCI Registry 的地址和仓库名称。

### 通过环境变量
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

KCL 包管理工具支持通过 OCI Registries 保存和分享 KCL 包。

## 默认 registry
## 默认 OCI Registry

KCL 包管理工具默认使用 ghcr.io 保存 KCL 包。

默认 registry - [https://github.com/orgs/kcl-lang/packages](https://github.com/orgs/kcl-lang/packages)

## 自定义 OCI Registry

有几个支持 OCI 的托管容器 Registry,您可以将其用于存储 KCL 模块。

+ [Docker Hub](https://docs.docker.com/docker-hub/oci-artifacts/)
+ [Harbor](https://goharbor.io/docs/main/administration/user-defined-oci-artifact/)
+ [Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html)
+ [Azure Container Registry](https://learn.microsoft.com/azure/container-registry/container-registry-oci-artifacts)
+ [Google Artifact Registry](https://cloud.google.com/artifact-registry/docs/helm/manage-charts)
+ [Alibaba Cloud Container Registry](https://help.aliyun.com/acr/)
+ [IBM Cloud Container Registry](https://cloud.ibm.com/docs/Registry)
+ [JFrog Artifactory](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry)

你可以通过以下方法调整 OCI Registry 的地址和仓库名称。

### 通过环境变量
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

KCL package management tool supports saving and sharing KCL packages through OCI Registries.

## Default registry
## Default OCI Registry

KCL package management tool uses `ghcr.io` to save KCL packages by default.

Default registry - [https://github.com/orgs/kcl-lang/packages](https://github.com/orgs/kcl-lang/packages)

## Use Custom OCI Registry

There are several hosted container registries with OCI support that you can use to store your KCL module.

+ [Docker Hub](https://docs.docker.com/docker-hub/oci-artifacts/)
+ [Harbor](https://goharbor.io/docs/main/administration/user-defined-oci-artifact/)
+ [Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html)
+ [Azure Container Registry](https://learn.microsoft.com/azure/container-registry/container-registry-oci-artifacts)
+ [Google Artifact Registry](https://cloud.google.com/artifact-registry/docs/helm/manage-charts)
+ [Alibaba Cloud Container Registry](https://help.aliyun.com/acr/)
+ [IBM Cloud Container Registry](https://cloud.ibm.com/docs/Registry)
+ [JFrog Artifactory](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry)

You can adjust the registry and repository name of the OCI registry by the follow methods.

### By environment variable
Expand Down