fix: promote registry image-repo-template to app + global
The registry plugin accepted `registry:set <app> image-repo-template <value>` and persisted the per-app file, but only ever read the global value when rendering the image repository, so per-app overrides were silently dropped. The property now follows the same per-app to global to default fallback chain used by `push-on-release` and `server`, and `registry:report` exposes the raw per-app value alongside the existing global and computed flags. The `push-extra-tags` report flags were extended for the same reason: the runtime already honored per-app and global values, but the report only surfaced the raw per-app entry.
This commit is contained in:
@@ -3,10 +3,11 @@ package registry
|
||||
var (
|
||||
// DefaultProperties is a map of all valid registry properties with corresponding default property values
|
||||
DefaultProperties = map[string]string{
|
||||
"image-repo": "",
|
||||
"push-on-release": "false",
|
||||
"server": "",
|
||||
"push-extra-tags": "",
|
||||
"image-repo": "",
|
||||
"image-repo-template": "",
|
||||
"push-on-release": "false",
|
||||
"server": "",
|
||||
"push-extra-tags": "",
|
||||
}
|
||||
|
||||
// GlobalProperties is a map of all valid global registry properties
|
||||
|
||||
Reference in New Issue
Block a user