diff --git a/.gitea/workflows/build-pgvector.yaml b/.gitea/workflows/build-pgvector.yaml index 4d91340..2b8a948 100644 --- a/.gitea/workflows/build-pgvector.yaml +++ b/.gitea/workflows/build-pgvector.yaml @@ -7,7 +7,7 @@ on: - '.gitea/workflows/build-pgvector.yaml' jobs: "Build wildfly docker images": - runs-on: hostinger + runs-on: woryzen steps: - name: Set up Docker Buildx @@ -30,8 +30,10 @@ jobs: pull: true tags: | "gitea.woggioni.net/woggioni/pgvector:latest" - "gitea.woggioni.net/woggioni/pgvector:0.8.0-pg17" - build-args: "PG_VERSION=17" + "gitea.woggioni.net/woggioni/pgvector:0.8.1-pg17" + build-args: | + PG_VERSION=17 + PGVECTOR_VERSION=0.8.1 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 diff --git a/pgvector/Dockerfile b/pgvector/Dockerfile index bc0d417..df33d32 100644 --- a/pgvector/Dockerfile +++ b/pgvector/Dockerfile @@ -1,10 +1,11 @@ ARG PG_VERSION=17 +ARG PGVECTOR_VERSION FROM postgres:${PG_VERSION}-alpine AS build WORKDIR / RUN apk update 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 RUN make RUN make install