1.0.18
This commit is contained in:
1 parent
8ee4fe4d68
commit
f8dcb84c41
1 file changed
+3
-1
@@ -96,7 +96,9 @@ export function shouldBlockUpdate(
|
|||||||
* Used to prevent Dockhand from updating its own container.
|
* Used to prevent Dockhand from updating its own container.
|
||||||
*/
|
*/
|
||||||
export function isDockhandContainer(imageName: string): boolean {
|
export function isDockhandContainer(imageName: string): boolean {
|
||||||
return imageName.toLowerCase().includes('fnsys/dockhand');
|
const lower = imageName.toLowerCase();
|
||||||
|
// Match fnsys/dockhand, registry.example.com/dockhand, or plain dockhand
|
||||||
|
return lower.includes('fnsys/dockhand') || /(?:^|\/)dockhand(?::|$)/.test(lower);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user