setup a target and disable cache
All checks were successful
/ build-general (bookworm, 1.4.1, v0.8.0, 17, 3.5.2, 2.19.3) (push) Successful in 3m2s
/ build-base (bookworm, 17) (push) Successful in 2m15s

This commit is contained in:
Ryan Voots 2025-05-08 15:55:29 -04:00
parent 6a2c14df86
commit 48cff2a0e6
2 changed files with 3 additions and 1 deletions

View file

@ -103,6 +103,8 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
context: general/
dockerfile: general/Dockerfile
target: final
no-cache: true
build-args: |
PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
DEB_RELEASE=${{ matrix.DEB_RELEASE }}

View file

@ -49,7 +49,7 @@ RUN git clone https://github.com/pgvector/pgvector --depth=1 --recursive -b ${PG
WORKDIR /build/pgvector
RUN make -j && make install
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG}
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS final
COPY --from=pgbuilder /usr/share/postgresql/. /usr/share/posrgresql/
COPY --from=pgbuilder /usr/lib/postgresql/. /usr/lib/postgresql/