Files
Gitea/routers/api/packages/container
660c4b1de6 fix(packages): accept OCI 1.1 container image names (#40363) (#40369)
Backport #40363 by @lazerg

The container registry rejected image names with `__` or runs of `-`
(like `a__b` or `a--b`) with `NAME_INVALID`, because the name check
still used the distribution-spec v1.0 grammar. This updates the pattern
to the v1.1 grammar, which docker and podman already accept.

Fixes: https://github.com/go-gitea/gitea/issues/40360

Assisted-by: Claude Code:claude-opus-5-5

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lazizbek Ergashev <lazerg2@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-11-14 12:18:43 +00:00
..