Add ghcr.io support to Docker update checker
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-05-16 17:13:12 +02:00
parent cea1a05af7
commit 072fd7f466
2 changed files with 43 additions and 18 deletions
@@ -26,7 +26,7 @@ export function DockerUpdatesWidget() {
}, [])
const outdated = containers.filter(c => c.upToDate === false).length
const unknown = containers.filter(c => c.upToDate === null).length
const unknown = containers.filter(c => c.upToDate === null && c.registry !== 'docker.io' && c.registry !== 'ghcr.io').length
return (
<div className="card">
@@ -52,7 +52,7 @@ export function DockerUpdatesWidget() {
{c.image}:{c.tag} · {c.endpoint}
</span>
</div>
{c.registry !== 'docker.io' ? (
{c.upToDate === null && c.registry !== 'docker.io' && c.registry !== 'ghcr.io' ? (
<span className="pill pill-blue">ext</span>
) : c.upToDate === true ? (
<span className="pill pill-green"></span>