Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a0756ae

Browse files
committed
chore: replace path of the Docker registry with SE images (#479)
1 parent 4e22396 commit a0756ae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎ui/packages/ce/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55

66
COPY ./ui/ .
77

8-
RUN --mount=type=bind,id=pnpm,source=.pnpm-store,target=/app/.pnpm-store
8+
#RUN --mount=type=bind,id=pnpm,source=.pnpm-store,target=/app/.pnpm-store
99

1010
ARG API_URL_PREFIX
1111
ENV REACT_APP_API_URL_PREFIX ${API_URL_PREFIX}

‎ui/packages/platform/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WORKDIR /app
1212

1313
COPY ./ui/ .
1414

15-
RUN --mount=type=bind,id=pnpm,source=.pnpm-store,target=/app/.pnpm-store
15+
#RUN --mount=type=bind,id=pnpm,source=.pnpm-store,target=/app/.pnpm-store
1616

1717
ARG ARG_REACT_APP_API_SERVER
1818
ENV REACT_APP_API_SERVER=$ARG_REACT_APP_API_SERVER

‎ui/packages/shared/pages/Configuration/utils/index.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DatabaseType } from '@postgres.ai/shared/types/api/entities/config'
33
import { dockerImageOptions } from '../configOptions'
44
import { 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
88
const 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

6363
export 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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /