Route lscr.io update checks through ghcr.io
ci/woodpecker/push/woodpecker Pipeline was successful

lscr.io is a mirror of ghcr.io — same manifests and auth service.
Using the ghcr.io token flow (with GITHUB_TOKEN) is reliable; calling
the lscr.io token endpoint with service=lscr.io silently fails.
This commit is contained in:
2026-05-16 18:03:29 +02:00
parent 367a2d8a27
commit 92cb6a86e2
+2 -1
View File
@@ -188,7 +188,8 @@ router.get('/docker', async (_req, res) => {
const latest = await getGhcrLatestDigest(name, tag) const latest = await getGhcrLatestDigest(name, tag)
if (latest) upToDate = latest === repoDigest if (latest) upToDate = latest === repoDigest
} else if (isLscr && repoDigest) { } else if (isLscr && repoDigest) {
const latest = await getLscrLatestDigest(name, tag) // lscr.io is a mirror of ghcr.io — same manifests, same digests, same auth
const latest = await getGhcrLatestDigest(name, tag)
if (latest) upToDate = latest === repoDigest if (latest) upToDate = latest === repoDigest
} }