setup a target and disable cache
This commit is contained in:
parent
6a2c14df86
commit
48cff2a0e6
2 changed files with 3 additions and 1 deletions
|
@ -103,6 +103,8 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
context: general/
|
context: general/
|
||||||
dockerfile: general/Dockerfile
|
dockerfile: general/Dockerfile
|
||||||
|
target: final
|
||||||
|
no-cache: true
|
||||||
build-args: |
|
build-args: |
|
||||||
PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
|
PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
|
||||||
DEB_RELEASE=${{ matrix.DEB_RELEASE }}
|
DEB_RELEASE=${{ matrix.DEB_RELEASE }}
|
||||||
|
|
|
@ -49,7 +49,7 @@ RUN git clone https://github.com/pgvector/pgvector --depth=1 --recursive -b ${PG
|
||||||
WORKDIR /build/pgvector
|
WORKDIR /build/pgvector
|
||||||
RUN make -j && make install
|
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/share/postgresql/. /usr/share/posrgresql/
|
||||||
COPY --from=pgbuilder /usr/lib/postgresql/. /usr/lib/postgresql/
|
COPY --from=pgbuilder /usr/lib/postgresql/. /usr/lib/postgresql/
|
||||||
|
|
Loading…
Add table
Reference in a new issue