From 49f19d1758c09020a60603cee61c8b41ff9cc9dd Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 5 Apr 2026 16:37:38 +0000 Subject: [PATCH] fix: query backend image tags for latest version instead of helm chart DO registry API is unreliable for OCI Helm chart tags. Since the CI pushes images and chart with the same version, use lunarfront-app image tags which are always indexed correctly. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/services/git.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/git.ts b/src/services/git.ts index e6ab3b3..af228e5 100644 --- a/src/services/git.ts +++ b/src/services/git.ts @@ -5,7 +5,8 @@ import { join } from "path"; import { config } from "../lib/config"; export async function getLatestChartVersion(): Promise { - const res = await fetch("https://api.digitalocean.com/v2/registry/lunarfront/repositories/lunarfront/tags?page=1&per_page=100", { + // Query backend image tags instead of Helm chart tags — DO API is unreliable for OCI helm artifacts + const res = await fetch("https://api.digitalocean.com/v2/registry/lunarfront/repositories/lunarfront-app/tags?page=1&per_page=100", { headers: { Authorization: `Bearer ${config.doToken}` }, }); const data = await res.json() as { tags: { tag: string }[] };