Skip to content
Snippets Groups Projects
Verified Commit ac586a3b authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

refactor(spilo-vectorrs): Rework release tagging

parent 837b3f11
No related branches found
No related tags found
No related merge requests found
Pipeline #19450 passed
release=15-3.0-p1-r2
release=2
......@@ -4,10 +4,13 @@ container:
FROM ghcr.io/zalando/spilo-15:3.0-p1
ARG registry=quay.io/shivering-isles/splio-vectorrs
COPY .release ./
ARG tag=$(awk -F'=' '$1 == "release" {print $2}' .release)
# renovate: datasource=github-releases depName=tensorchord/pgvecto.rs
ARG PG_VECTORS_VERSION=v0.2.0
ENV PG_VERSION=$(pg_config --version | sed -e 's/PostgreSQL //' -e 's/\..*//')
ARG tag=$PG_VERSION-$(echo $PATRONIVERSION | cut -d'.' -f 1-2)-pg${PG_VECTORS_VERSION}-r$(awk -F'=' '$1 == "release" {print $2}' .release)
ARG latest=false
ARG VECTORS_DEB="./vectors-pg15_amd64.deb"
RUN curl -L https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.0/vectors-pg15_0.2.0_amd64.deb > "$VECTORS_DEB"
ARG VECTORS_DEB="./vectors-pg${PG_VERSION}_amd64.deb"
RUN curl -L https://github.com/tensorchord/pgvecto.rs/releases/download/${PG_VECTORS_VERSION}/vectors-pg${PG_VERSION}_$(echo $PG_VECTORS_VERSION | sed -e 's/^v//')_amd64.deb > "$VECTORS_DEB"
RUN apt install "$VECTORS_DEB"
RUN rm "$VECTORS_DEB"
DO ../.utils/+LABEL --image=postfix --version=main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment