refactor: add tag to web server update

This commit is contained in:
Mauricio Siu
2024-12-21 13:13:38 -06:00
parent 978324e2bf
commit ae159c5678
2 changed files with 6 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import {
findAdminById,
findServerById,
getDokployImage,
getDokployImageTag,
getUpdateData,
initializeTraefik,
logRotationManager,
@@ -373,6 +374,9 @@ export const settingsRouter = createTRPCRouter({
getDokployVersion: adminProcedure.query(() => {
return packageInfo.version;
}),
getReleaseTag: adminProcedure.query(() => {
return getDokployImageTag();
}),
readDirectories: protectedProcedure
.input(apiServerSchema)
.query(async ({ ctx, input }) => {