mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-06 04:33:02 +00:00
Remove PG_MAJOR build arg
This commit is contained in:
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@@ -86,5 +86,4 @@ jobs:
|
|||||||
labels: ${{ steps.metadata.outputs.labels }}
|
labels: ${{ steps.metadata.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
CNPG_TAG=${{ matrix.cnpgTag }}
|
CNPG_TAG=${{ matrix.cnpgTag }}
|
||||||
PG_MAJOR=${{ steps.version.outputs.pg_major }}
|
|
||||||
PGVECTORS_TAG=${{ matrix.pgvectorsVersion }}
|
PGVECTORS_TAG=${{ matrix.pgvectorsVersion }}
|
||||||
|
|||||||
@@ -2,11 +2,12 @@ ARG CNPG_TAG
|
|||||||
|
|
||||||
FROM curlimages/curl AS download
|
FROM curlimages/curl AS download
|
||||||
|
|
||||||
ARG PG_MAJOR
|
ARG CNPG_TAG
|
||||||
ARG PGVECTORS_TAG
|
ARG PGVECTORS_TAG
|
||||||
|
|
||||||
WORKDIR /download
|
WORKDIR /download
|
||||||
RUN curl -o pgvectors.deb -sSL https://github.com/tensorchord/pgvecto.rs/releases/download/$PGVECTORS_TAG/vectors-pg$PG_MAJOR-$PGVECTORS_TAG-$(uname -m)-unknown-linux-gnu.deb
|
RUN pg_major=$(echo $CNPG_TAG | cut -d'.' -f1) \
|
||||||
|
&& curl -o pgvectors.deb -sSL https://github.com/tensorchord/pgvecto.rs/releases/download/$PGVECTORS_TAG/vectors-pg${pg_major}-$PGVECTORS_TAG-$(uname -m)-unknown-linux-gnu.deb
|
||||||
|
|
||||||
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
|
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user