Skip to content

Commit

Permalink
add new diagram
Browse files Browse the repository at this point in the history
Signed-off-by: Feynman Zhou <[email protected]>
  • Loading branch information
FeynmanZhou committed Dec 5, 2024
1 parent 63fd5a2 commit 994ec7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file added docs/proposals/img/create-multi-arch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/proposals/multi-arch-image-mgmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,18 @@ The proposal creates a multi-arch image using an OCI image index in an OCI image

### User scenario and desired experience

The sample workflow will be as following:
Here is the sample workflow to create a multi-arch image using an image index locally and push it to the registry for deployment:

![multi-arch image](./img/create-multi-arch.png)

1. Assume there are two arch-specific images tagged as `v1-linux-amd64` and `v1-linux-arm64` in an OCI image layout called `layout-dir`. List the tags in the OCI image layout:

```bash
$ oras repo tags --oci-layout layout-dir

v1-linux-amd64
v1-linux-arm64
v1-linux-arm64
v1-linux-arm/v7
```

2. Create a multi-arch image by combining two image manifests into an image index, tag it with `v1` and push the tagged image index to an OCI image layout `layout-dir` automatically. Add annotations to this image index at the same time:
Expand Down

0 comments on commit 994ec7f

Please sign in to comment.