From 95bdf22470d41efdc926ec7e6e26313f43fef7aa Mon Sep 17 00:00:00 2001 From: Ignas Mikalajunas Date: Wed, 26 Nov 2025 13:27:29 +0200 Subject: [PATCH] Added timescale toolkit and updated timescaledb --- .github/workflows/build.yaml | 16 ++++++++++++++-- Dockerfile | 6 ++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 71bbac8..5bdb6c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,7 +4,10 @@ on: push env: # renovate datasource=github-releases depName=timescale/timescaledb - TIMESCALE_VERSION: 2.21.3 + TIMESCALE_VERSION: 2.22.1 + + # renovate datasource=github-releases depName=timescale/timescaledb-toolkit + TIMESCALE_TOOLKIT_VERSION: 1.21.0 jobs: build: @@ -47,6 +50,14 @@ jobs: echo "minor=$(cut -d. -f-2 <<<"$TIMESCALE_VERSION")" echo "major=$(cut -d. -f1 <<<"$TIMESCALE_VERSION")" } >> $GITHUB_OUTPUT + - name: Get Timescale Toolkit version + id: timescale_toolkit + run: | + { + echo "version=$TIMESCALE_TOOLKIT_VERSION" + echo "minor=$(cut -d. -f-2 <<<"$TIMESCALE_TOOLKIT_VERSION")" + echo "major=$(cut -d. -f1 <<<"$TIMESCALE_TOOLKIT_VERSION")" + } >> $GITHUB_OUTPUT - name: Docker meta id: meta uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0 @@ -78,13 +89,14 @@ jobs: context: . pull: true push: ${{ github.ref_name == 'main' }} - platforms: linux/amd64,linux/arm64/v8 + platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | POSTGRES_VERSION=${{ matrix.postgres_version }} CLOUDNATIVEPG_VERSION=${{ steps.cnpg.outputs.version }} TIMESCALE_VERSION=${{ steps.timescale.outputs.version }} + TIMESCALE_TOOLKIT_VERSION=${{ steps.timescale_toolkit.outputs.version }} cache-from: type=gha cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile index 74e99dc..eca789e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ USER root ARG POSTGRES_VERSION ARG TIMESCALE_VERSION +ARG TIMESCALE_TOOLKIT_VERSION RUN <