Files
dokku/plugins/registry/registry.go
Jose Diaz-Gonzalez bc5acce55e 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.
2026-05-27 03:23:14 -04:00

21 lines
561 B
Go

package registry
var (
// DefaultProperties is a map of all valid registry properties with corresponding default property values
DefaultProperties = map[string]string{
"image-repo": "",
"image-repo-template": "",
"push-on-release": "false",
"server": "",
"push-extra-tags": "",
}
// GlobalProperties is a map of all valid global registry properties
GlobalProperties = map[string]bool{
"image-repo-template": true,
"push-on-release": true,
"server": true,
"push-extra-tags": true,
}
)