detect newer version tags for pinned images and show them as a badge with release notes
This commit is contained in:
36 files changed
+8820
-98
No files matched your search
@@ -481,6 +481,12 @@ export const pendingContainerUpdates = sqliteTable('pending_container_updates',
|
||||
containerId: text('container_id').notNull(),
|
||||
containerName: text('container_name').notNull(),
|
||||
currentImage: text('current_image').notNull(),
|
||||
// True when a digest image update is pending (the classic amber icon). Defaults
|
||||
// true so pre-existing rows keep behaving exactly as before.
|
||||
hasImageUpdate: integer('has_image_update', { mode: 'boolean' }).notNull().default(true),
|
||||
// A newer VERSION tag (semver) for a pinned image, as JSON {tag,bump,skipped}.
|
||||
// Null when there's no semver suggestion. Advisory - never auto-applied.
|
||||
newerVersion: text('newer_version'),
|
||||
checkedAt: text('checked_at').default(sql`CURRENT_TIMESTAMP`),
|
||||
createdAt: text('created_at').default(sql`CURRENT_TIMESTAMP`)
|
||||
}, (table) => ({
|
||||
|
||||
@@ -484,6 +484,12 @@ export const pendingContainerUpdates = pgTable('pending_container_updates', {
|
||||
containerId: text('container_id').notNull(),
|
||||
containerName: text('container_name').notNull(),
|
||||
currentImage: text('current_image').notNull(),
|
||||
// True when a digest image update is pending (the classic amber icon). Defaults
|
||||
// true so pre-existing rows keep behaving exactly as before.
|
||||
hasImageUpdate: boolean('has_image_update').notNull().default(true),
|
||||
// A newer VERSION tag (semver) for a pinned image, as JSON {tag,bump,skipped}.
|
||||
// Null when there's no semver suggestion. Advisory - never auto-applied.
|
||||
newerVersion: text('newer_version'),
|
||||
checkedAt: timestamp('checked_at', { mode: 'string' }).defaultNow(),
|
||||
createdAt: timestamp('created_at', { mode: 'string' }).defaultNow()
|
||||
}, (table) => ({
|
||||
|
||||
Reference in new issue
Block a user