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

doc: add Harbor as a compatible registry #400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FeynmanZhou
Copy link
Member

add Harbor as a compatible registry to the registry list

Signed-off-by: Feynman Zhou <feynmanzhou@microsoft.com>
Comment on lines +376 to +387
- 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
```
Copy link
Contributor

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*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

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.

3 participants