From 2f53a58607b8af917141b824ee4c3b7e546b6f19 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Thu, 1 Jan 2026 08:00:33 +0800 Subject: [PATCH] updated pgvector --- .gitea/workflows/build-pgvector.yaml | 18 ++++++++---------- pgvector/Dockerfile | 4 ++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build-pgvector.yaml b/.gitea/workflows/build-pgvector.yaml index 2b8a948..5048eb9 100644 --- a/.gitea/workflows/build-pgvector.yaml +++ b/.gitea/workflows/build-pgvector.yaml @@ -6,14 +6,9 @@ on: - 'pgvector/**' - '.gitea/workflows/build-pgvector.yaml' jobs: - "Build wildfly docker images": + "Build pgvector docker images": runs-on: woryzen steps: - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.4.0 - with: - driver: docker-container - name: Login to Gitea container registry uses: docker/login-action@v3 @@ -25,15 +20,18 @@ jobs: name: Build and push pgvector images uses: docker/build-push-action@v6 with: + builder: multiplatform-builder context: "{{defaultContext}}:pgvector" push: true pull: true + platforms: | + linux/amd64 + linux/arm64 tags: | "gitea.woggioni.net/woggioni/pgvector:latest" - "gitea.woggioni.net/woggioni/pgvector:0.8.1-pg17" + "gitea.woggioni.net/woggioni/pgvector:0.8.1-pg18.1-alpine3.23" build-args: | - PG_VERSION=17 + PG_VERSION=18.1 + ALPINE_VERSION=3.23 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 24d5750..73d13aa 100644 --- a/pgvector/Dockerfile +++ b/pgvector/Dockerfile @@ -1,5 +1,5 @@ -ARG PG_VERSION=17 -FROM postgres:${PG_VERSION}-alpine AS build +ARG PG_VERSION=18.1 ALPINE_VERSION=3.23 +FROM postgres:${PG_VERSION}-alpine${ALPINE_VERSION} AS build ARG PGVECTOR_VERSION WORKDIR /