@@ -3,7 +3,7 @@ import { DatabaseType } from '@postgres.ai/shared/types/api/entities/config'
3
3
import { dockerImageOptions } from '../configOptions'
4
4
import { FormValues } from '../useForm'
5
5
6
- const extendedCustomImage = 'custom -images/extended-postgres '
6
+ const seContainerRegistry = 'se -images'
7
7
// used for creating an array for postgresImages, should be incremented if a new version comes out
8
8
const versionArrayLength = 7
9
9
@@ -53,7 +53,7 @@ export const formatDockerImageArray = (type: string) => {
53
53
} else {
54
54
images = versions . map (
55
55
( version ) =>
56
- `registry.gitlab.com/postgres-ai/${ extendedCustomImage } - ${ type } :${ version } ` ,
56
+ `registry.gitlab.com/postgres-ai/${ seContainerRegistry } / ${ type } :${ version } ` ,
57
57
)
58
58
}
59
59
@@ -62,8 +62,8 @@ export const formatDockerImageArray = (type: string) => {
62
62
63
63
export const getImageType = ( imageUrl : string ) => {
64
64
const postgresCustomImageType =
65
- imageUrl . includes ( extendedCustomImage ) &&
66
- imageUrl . split ( `${ extendedCustomImage } - ` ) [ 1 ] ?. split ( ':' ) [ 0 ]
65
+ imageUrl . includes ( seContainerRegistry ) &&
66
+ imageUrl . split ( `${ seContainerRegistry } / ` ) [ 1 ] ?. split ( ':' ) [ 0 ]
67
67
68
68
const formattedDockerImageArray = formatDockerImageArray (
69
69
postgresCustomImageType || '' ,
0 commit comments