updated pgvector to 0.8.1
All checks were successful
CI / Build wildfly docker images (push) Successful in 22m26s

This commit is contained in:
2025-11-08 13:45:09 +08:00
parent 89fd216f14
commit fdf48ca765
2 changed files with 7 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ on:
- '.gitea/workflows/build-pgvector.yaml' - '.gitea/workflows/build-pgvector.yaml'
jobs: jobs:
"Build wildfly docker images": "Build wildfly docker images":
runs-on: hostinger runs-on: woryzen
steps: steps:
- -
name: Set up Docker Buildx name: Set up Docker Buildx
@@ -30,8 +30,10 @@ jobs:
pull: true pull: true
tags: | tags: |
"gitea.woggioni.net/woggioni/pgvector:latest" "gitea.woggioni.net/woggioni/pgvector:latest"
"gitea.woggioni.net/woggioni/pgvector:0.8.0-pg17" "gitea.woggioni.net/woggioni/pgvector:0.8.1-pg17"
build-args: "PG_VERSION=17" build-args: |
PG_VERSION=17
PGVECTOR_VERSION=0.8.1
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/pgvector:buildx cache-from: type=registry,ref=gitea.woggioni.net/woggioni/pgvector:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/pgvector:buildx cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/pgvector:buildx

View File

@@ -1,10 +1,11 @@
ARG PG_VERSION=17 ARG PG_VERSION=17
FROM postgres:${PG_VERSION}-alpine AS build FROM postgres:${PG_VERSION}-alpine AS build
ARG PGVECTOR_VERSION
WORKDIR / WORKDIR /
RUN apk update RUN apk update
RUN apk add gcc make musl-dev clang19 llvm19 git RUN apk add gcc make musl-dev clang19 llvm19 git
RUN git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git pgvector RUN git clone --branch v${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git pgvector
WORKDIR pgvector WORKDIR pgvector
RUN make RUN make
RUN make install RUN make install