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

action: enable nydus-snapshotter image to support multi-arch #584

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

BbolroC
Copy link
Contributor

@BbolroC BbolroC commented Mar 18, 2024

This commit is to build and release ghcr.io/containerd/nydus-snapshotter for multiple platforms (below) by leveraging GHA's QEMU/buildx funtionalities.

  • amd64
  • arm64
  • s390x
  • ppc64le

The workflow was verified and the image is available at https://github.com/BbolroC/nydus-snapshotter/pkgs/container/nydus-snapshotter/179477460?tag=enable-multi-arch-image.

Fixes: #583

Signed-off-by: Hyounggyu Choi Hyounggyu.Choi@ibm.com

This commit is to build and release `ghcr.io/containerd/nydus-snapshotter`
for multiple platforms (below) by leveraging GHA's QEMU/buildx funtionalities.

- amd64
- arm64
- s390x
- ppc64le

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
@imeoer
Copy link
Collaborator

imeoer commented Mar 18, 2024

@BbolroC Thanks for the PR!

@imeoer
Copy link
Collaborator

imeoer commented Mar 18, 2024

@BbolroC Let's release v0.13.9 once merged.

@imeoer imeoer merged commit 81119b8 into containerd:main Mar 18, 2024
15 checks passed
@BbolroC BbolroC deleted the enable-multi-arch-image branch March 18, 2024 11:06
BbolroC added a commit to BbolroC/nydus-snapshotter that referenced this pull request Mar 18, 2024
The PR containerd#584 overlooked a scenario involving more than two elements
in `steps.meta.outputs.tags`. This commit addresses that by iterating
over the tags and creating/pushing a manifest only for tags ending
with `latest`.

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
BbolroC added a commit to BbolroC/nydus-snapshotter that referenced this pull request Mar 18, 2024
The PR containerd#584 overlooked a scenario involving more than two elements
in `steps.meta.outputs.tags`. This commit addresses that by iterating
over the tags and creating/pushing a manifest for them, respectively.

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
BbolroC added a commit to BbolroC/nydus-snapshotter that referenced this pull request Mar 18, 2024
The PR containerd#584 overlooked a scenario involving more than two elements
in `steps.meta.outputs.tags`. This commit addresses that by iterating
over the tags and creating/pushing a manifest for them, respectively.

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
BbolroC added a commit to BbolroC/nydus-snapshotter that referenced this pull request Mar 18, 2024
The PR containerd#584 overlooked a scenario involving more than two elements
in `steps.meta.outputs.tags`. This commit addresses that by iterating
over the tags and creating/pushing a manifest for them, respectively.

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
BbolroC added a commit to BbolroC/nydus-snapshotter that referenced this pull request Mar 18, 2024
The PR containerd#584 overlooked a scenario involving more than two elements
in `steps.meta.outputs.tags`. This commit addresses that by iterating
over the tags and creating/pushing a manifest for them, respectively.

Fixes: containerd#583

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
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.

Multi-arch support for a nydus-snapshotter image
2 participants