Adjust photorism's update strategy to the new upstream format (#1203)

This commit is contained in:
Stavros Kois
2023-05-17 16:03:46 +03:00
committed by GitHub
parent a4691059d8
commit 604d98c2d7
3 changed files with 5 additions and 5 deletions

View File

@@ -3,9 +3,9 @@ description: AI-powered app for browsing, organizing & sharing your photo collec
annotations:
title: PhotoPrism
type: application
version: 1.0.19
version: 1.0.20
apiVersion: v2
appVersion: '221118'
appVersion: '230514'
kubeVersion: '>=1.16.0-0'
maintainers:
- name: truenas

View File

@@ -6,7 +6,7 @@ import re
from catalog_update.upgrade_strategy import datetime_versioning
VERSION_REG = r'2[2-9][0-1][0-9][0-3][0-9]-jammy'
VERSION_REG = r'2[3-9][0-1][0-9][0-3][0-9]'
def newer_mapping(image_tags):
@@ -22,7 +22,7 @@ def newer_mapping(image_tags):
return {}
return {
'tags': {key: f'{version}-jammy'},
'tags': {key: f'{version}'},
'app_version': version,
}

View File

@@ -1,4 +1,4 @@
image:
pullPolicy: IfNotPresent
repository: photoprism/photoprism
tag: 221118-jammy
tag: '230514'