diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6aecdb403..e19f9db6fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -643,7 +643,7 @@ jobs: contents: read services: postgres: - image: ghcr.io/immich-app/postgres:14@sha256:14bec5d02e8704081eafd566029204a4eb6bb75f3056cfb34e81c5ab1657a490 + image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0@sha256:14bec5d02e8704081eafd566029204a4eb6bb75f3056cfb34e81c5ab1657a490 env: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml index a8cb21aaf7..50be3d9bef 100644 --- a/e2e/docker-compose.yml +++ b/e2e/docker-compose.yml @@ -37,7 +37,7 @@ services: image: redis:6.2-alpine@sha256:3211c33a618c457e5d241922c975dbc4f446d0bdb2dc75694f5573ef8e2d01fa database: - image: ghcr.io/immich-app/postgres:14 + image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0 command: -c fsync=off -c shared_preload_libraries=vchord.so -c config_file=/var/lib/postgresql/data/postgresql.conf environment: POSTGRES_PASSWORD: postgres diff --git a/server/test/medium/globalSetup.ts b/server/test/medium/globalSetup.ts index 323d2c4a53..91f47a8ca7 100644 --- a/server/test/medium/globalSetup.ts +++ b/server/test/medium/globalSetup.ts @@ -7,7 +7,7 @@ import { getKyselyConfig } from 'src/utils/database'; import { GenericContainer, Wait } from 'testcontainers'; const globalSetup = async () => { - const postgresContainer = await new GenericContainer('ghcr.io/immich-app/postgres:14') + const postgresContainer = await new GenericContainer('ghcr.io/immich-app/postgres:14-vectorchord0.3.0') .withExposedPorts(5432) .withEnvironment({ POSTGRES_PASSWORD: 'postgres',