Skip to content
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

Multiple static registries #219

Merged
merged 5 commits into from
Nov 5, 2021
Merged

Multiple static registries #219

merged 5 commits into from
Nov 5, 2021

Conversation

Joxit
Copy link
Owner

@Joxit Joxit commented Nov 3, 2021

Add support for default registries (options DEFAULT_REGISTRIES) you can add many registries separated with a comma.

Example:
DEFAULT_REGISTRIES=https://registry.example.com,https://registry2.example.com,http://localhost:5000

Add also read only registries (option READ_ONLY_REGISTRIES) that deactivate add and remove for registries.

These options works only when SINGLE_REGISTRY=false

Behaviors:

  • DEFAULT_REGISTRIES:
    • will set the list of registries in the localstorage when the localstorage is empty.
    • will overwrite the list of registries every time when READ_ONLY_REGISTRIES=true
  • READ_ONLY_REGISTRIES:
    • will remove dialog for Add and Remove registries

resolves #211

@Joxit Joxit merged commit 29c17b1 into main Nov 5, 2021
@github-pages github-pages bot temporarily deployed to github-pages November 5, 2021 21:41 Inactive
@Joxit Joxit deleted the feat/multi-default-registries branch November 5, 2021 21:41
@Joxit Joxit added this to the 2.1.0 milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple static registries
1 participant