mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #385] [MERGED] feat: add fromImageRegistry field to TemplateBuildStartV2 #393
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#393
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/385
Author: @zlzGithub-0801
Created: 10/15/2026
Status: ✅ Merged
Merged: 10/20/2026
Merged by: @yingdi-shan
Base:
main← Head:feat/from-image-registry📝 Commits (1)
469a9c0feat: add fromImageRegistry field to TemplateBuildStartV2📊 Changes
10 files changed (+1257 additions, -48 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
Cargo.toml(+1 -0)📝
adev/src/codegen.rs(+28 -0)📝
src/api/generated/src/models.rs(+647 -0)📝
src/api/impls/template.rs(+17 -8)📝
src/api/impls/template_helpers.rs(+90 -1)📝
src/api/openapi.yml(+69 -0)📝
src/image/oci_image.rs(+248 -6)📝
src/image/resolver.rs(+135 -16)📝
src/snapshot/image_export/regctl.rs(+21 -17)📄 Description
What
Add
fromImageRegistrysupport to template builds for pulling private OCI images, including username/password, AWS ECR, and GCP credentials.Why
Allow users to build templates from private images without configuring registry credentials on the AgentENV server.
Related issue
NA
Scope and non-goals
Support registry authentication for standard OCI images. Reject authenticated builds using native OverlayBD images or OverlayBD referrers.
Design and behavior changes
fromImageRegistryfield toTemplateBuildStartV2.REGCTL_CONFIGenvironment variable. Remove the file when resolution finishes.Compatibility and operations
reqsignfor AWS request signing.Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetCommands and results:
Skipped checks and reasons:
Risks and reviewer notes
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.