-
Notifications
You must be signed in to change notification settings - Fork 62
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
doc: add Harbor as a compatible registry #400
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Feynman Zhou <feynmanzhou@microsoft.com>
- Pushing Artifacts to Harbor registry | ||
|
||
``` | ||
oras push --plain-http <registry-ip>:5000/hello-artifact:v2 \ | ||
artifact.txt:text/plain -d -v | ||
``` | ||
|
||
- Pulling Artifacts from Harbor registry | ||
|
||
``` | ||
oras pull --plain-http <registry-ip>:5000/hello-artifact:v2 -d -v | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why -d
and -v
are required?
- [Authenticating with Harbor](https://goharbor.io/docs/2.0.0/administration/configure-authentication/) | ||
|
||
``` | ||
echo $ZR_PASSWORD | oras login <registry-ip>:5000 -u $HARBOR_USER --password-stdin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo $ZR_PASSWORD | oras login <registry-ip>:5000 -u $HARBOR_USER --password-stdin | |
echo $HARBOR_PASSWORD | oras login <registry-ip>:5000 -u $HARBOR_USER --password-stdin |
|
||
``` | ||
oras push --plain-http <registry-ip>:5000/hello-artifact:v2 \ | ||
artifact.txt:text/plain -d -v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
artifact.txt:text/plain -d -v | |
artifact.txt:text/plain |
- Pulling Artifacts from Harbor registry | ||
|
||
``` | ||
oras pull --plain-http <registry-ip>:5000/hello-artifact:v2 -d -v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oras pull --plain-http <registry-ip>:5000/hello-artifact:v2 -d -v | |
oras pull --plain-http <registry-ip>:5000/hello-artifact:v2 |
@@ -8,8 +8,8 @@ sidebar_position: 70 | |||
This page contains a list of projects leveraging ORAS, as well as | |||
registries that are known to support [OCI Artifacts][artifacts]. | |||
|
|||
*Would like your registry and/or project listed here? | |||
Please [submit an issue](https://github.com/oras-project/oras-www/issues/new?assignees=&labels=adopter&template=submit_adopter.yml&title=%5BAdd+adopter%5D%3A). | |||
*Note that this list is not comprehensive yet. Would like your registry and/or project listed here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Note that this list is not comprehensive yet. Would like your registry and/or project listed here? | |
*Note that this list is not comprehensive. Would like your registry and/or project listed here? |
I don't think it will ever be comprehensive
add Harbor as a compatible registry to the registry list