Fix false self-container update reports

This commit is contained in:
rcourtman
2026-08-25 18:37:57 +01:00
committed by rcourtman
parent 87230b7ada
commit e310dd12ad
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -73,6 +73,8 @@ type ImageUpdateResult struct {
func isPulseManagedImageReference(image string) bool {
normalized := strings.ToLower(strings.TrimSpace(image))
for _, repository := range []string{
"rcourtman/pulse",
"docker.io/rcourtman/pulse",
"license.pulserelay.pro/pulse-pro",
"registry.pulserelay.pro/pulse/pulse-pro",
} {
+4 -1
View File
@@ -36,9 +36,12 @@ func TestRegistryChecker_CheckImageUpdate_Behavior(t *testing.T) {
}
})
t.Run("Pulse private image uses the product update service", func(t *testing.T) {
t.Run("Pulse images use the product update service", func(t *testing.T) {
checker := NewRegistryChecker(logger)
for _, image := range []string{
"rcourtman/pulse:latest",
"docker.io/rcourtman/pulse:6.3.1",
"rcourtman/pulse@sha256:abc123",
"license.pulserelay.pro/pulse-pro:6.2.0-rc.4",
"license.pulserelay.pro/pulse-pro@sha256:abc123",
"registry.pulserelay.pro/pulse/pulse-pro:v6.0.5",