Skip to content

Commit

Permalink
add artifact-hub to registryType (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian <[email protected]>
  • Loading branch information
HaveFun83 and flbla authored Dec 19, 2022
1 parent 60e762c commit 759ef8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func GetRegistryType(regType string) (regName string, err error) {

registryType := map[string]string{
"alibaba": "ali-acr",
"artifact-hub": "artifact-hub",
"aws": "aws-ecr",
"azure": "azure-acr",
"docker-hub": "docker-hub",
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "harbor_registry" "main" {
## Argument Reference
The following arguments are supported:

* **provider_name** - (Required) The name of the provider type. Supported values include `alibaba`, `aws`, `azure`, `docker-hub`, `docker-registry`, `gitlab`, `github`, `google`, `harbor`, `helm`, `huawei`, `jfrog`
* **provider_name** - (Required) The name of the provider type. Supported values include `alibaba`, `artifact-hub`, `aws`, `azure`, `docker-hub`, `docker-registry`, `gitlab`, `github`, `google`, `harbor`, `helm`, `huawei`, `jfrog`

* **name** - (Required) The name of the register.

Expand Down

0 comments on commit 759ef8e

Please sign in to comment.