Skip to content

Add loong64 to manifest annotation and bash completion - #7447

Closed
wojiushixiaobai wants to merge 1 commit into
docker:masterfrom
loong64:dev
Closed

wojiushixiaobai wants to merge 1 commit into
docker:masterfrom
loong64:dev

Conversation

@wojiushixiaobai

Copy link
Copy Markdown
Contributor

Adds linux/loong64 to the manifest annotation platform allowlist and loong64 to Bash completion.

Fixes: #7446

Signed-off-by: 吴小白 <296015668@qq.com>
@wojiushixiaobai
wojiushixiaobai requested review from a team and albers as code owners October 30, 2026 07:32
wojiushixiaobai added a commit to loong64/gcloud-local that referenced this pull request Oct 30, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I may have a quick look at implementing the validation with containerd/platforms instead.

Comment on lines 4158 to 4162
arm64
mips64
mips64le
loong64
ppc64le

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this list was sorted, so loong64 should come before mips64

{os: "linux", arch: "amd64"}: true,
{os: "linux", arch: "arm"}: true,
{os: "linux", arch: "arm64"}: true,
{os: "linux", arch: "loong64"}: true,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

From my other comment on the ticket #7446 (comment)

This validation in general is probably doing too much; it probably shouldn't be aware of "known" platforms (or os/arch combinations); while the OCI has a list of known variants that should be supported, it does allow other values, so at most it should look for missing (empty) fields that are required, and malformed values, but otherwise be un-opinionated.

@thaJeztah

Copy link
Copy Markdown
Member

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.

docker manifest annotate does not support linux/loong64

3 participants