Skip to content

Commit 916ce4f

Browse files
committed
Address acrolinx feedback
Signed-off-by: Steve Lasker <[email protected]>
1 parent 05f370f commit 916ce4f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/container-registry/container-registry-oci-artifacts.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: stevelas
1212

1313
You can use an Azure container registry to store and manage [Open Container Initiative (OCI) artifacts](container-registry-image-formats.md#oci-artifacts) as well as Docker and OCI container images.
1414

15-
To demonstrate this capability, this article shows how to use the [OCI Registry as Storage (ORAS)](https://github.com/deislabs/oras) CLI to push a sample artifact - a text file - to an Azure container registry. Then, pull the artifact from the registry. You can manage a variety of OCI artifacts in an Azure container registry using different command-line tools appropriate to each artifact.
15+
To demonstrate this capability, this article shows how to use the [OCI Registry as Storage (ORAS)](https://github.com/deislabs/oras) CLI to push a sample artifact - a text file - to an Azure container registry. Then, pull the artifact from the registry. You can manage various OCI artifacts in an Azure container registry using different command-line tools appropriate to each artifact.
1616

1717
## Prerequisites
1818

@@ -58,7 +58,7 @@ Provide the credentials to `oras login`.
5858

5959
## Push a root artifact
6060

61-
A root artifact is an artifact that has no `subject` parent. Root artifacts can be anything from a container image, a helm chart, a readme file for the repository. Reference artifacts, described later are artifacts that refer to another artifact. These can also be anything from a signature, software bill of materials, scan report or other evolving types.
61+
A root artifact is an artifact that has no `subject` parent. Root artifacts can be anything from a container image, a helm chart, a readme file for the repository. Reference artifacts, described in [Attach, push, and pull supply chain artifacts](container-registry-oras-artifacts.md) are artifacts that refer to another artifact. Reference artifacts can be anything from a signature, software bill of materials, scan report or other evolving types.
6262

6363
For this example, create content that represents a markdown file:
6464

@@ -67,13 +67,13 @@ echo 'Readme Content' > readme.md
6767
```
6868

6969
The following step pushes the `readme.md` file to `<myregistry>.azurecr.io/samples/artifact:readme`.
70-
- The registry is identified with the fully qualified registry name `<myregistry>.azurecr.io` (all lowercase) with the namespace and repo following: `/samples/artifact`.
70+
- The registry is identified with the fully qualified registry name `<myregistry>.azurecr.io` (all lowercase), followed by the namespace and repo : `/samples/artifact`.
7171
- The artifact is tagged `:readme`, to identify it uniquely from other artifacts listed in the repo (`:latest, :v1, :v1.0.1`).
7272
- The root artifact, an artifact that doesn't reference another, sets the type through the `-config` parameter.
7373
- `/dev/null` represents an empty config object, where the value `:readme/example` identifies the artifact type.
74-
- `:readme/example` differentiates it from a container images which use `application/vnd.oci.image.config.v1+json`.
74+
- `:readme/example` differentiates it from a container image, which uses `application/vnd.oci.image.config.v1+json`.
7575
- The `./readme.md` identifies the file uploaded, and the `:application/markdown` represents the [IANA `mediaType`][iana-mediatypes] of the file.
76-
See [OCI Artifact Authors Guidance](https://github.com/opencontainers/artifacts/blob/main/artifact-authors.md) for additional information.
76+
For more information, see [OCI Artifact Authors Guidance](https://github.com/opencontainers/artifacts/blob/main/artifact-authors.md) for additional information.
7777

7878
Use the `oras push` command to push the file to your registry.
7979

@@ -93,7 +93,7 @@ oras push $REGISTRY/samples/artifact:readme \
9393
.\readme.md:application/markdown
9494
```
9595

96-
Output for a successful push is similar to the following:
96+
Output for a successful push is similar to the following output:
9797

9898
```console
9999
Uploading 2fdeac43552b readme.md

0 commit comments

Comments
 (0)