@@ -3,7 +3,7 @@ import { DatabaseType } from '@postgres.ai/shared/types/api/entities/config'
33import { dockerImageOptions } from '../configOptions'
44import { FormValues } from '../useForm'
55
6- const extendedCustomImage = 'custom -images/extended-postgres '
6+ const seContainerRegistry = 'se -images'
77// used for creating an array for postgresImages, should be incremented if a new version comes out
88const versionArrayLength = 7
99
@@ -53,7 +53,7 @@ export const formatDockerImageArray = (type: string) => {
5353 } else {
5454 images = versions . map (
5555 ( version ) =>
56- `registry.gitlab.com/postgres-ai/${ extendedCustomImage } - ${ type } :${ version } ` ,
56+ `registry.gitlab.com/postgres-ai/${ seContainerRegistry } / ${ type } :${ version } ` ,
5757 )
5858 }
5959
@@ -62,8 +62,8 @@ export const formatDockerImageArray = (type: string) => {
6262
6363export const getImageType = ( imageUrl : string ) => {
6464 const postgresCustomImageType =
65- imageUrl . includes ( extendedCustomImage ) &&
66- imageUrl . split ( `${ extendedCustomImage } - ` ) [ 1 ] ?. split ( ':' ) [ 0 ]
65+ imageUrl . includes ( seContainerRegistry ) &&
66+ imageUrl . split ( `${ seContainerRegistry } / ` ) [ 1 ] ?. split ( ':' ) [ 0 ]
6767
6868 const formattedDockerImageArray = formatDockerImageArray (
6969 postgresCustomImageType || '' ,
0 commit comments