From 1790553a16933a22432a345042178fc8962cf135 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 5 Jun 2024 18:43:54 -0500 Subject: [PATCH] fix build --- .github/workflows/pg_later_ext.yml | 5 ++++- images/pglater-pg/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pg_later_ext.yml b/.github/workflows/pg_later_ext.yml index 674c1d7..fafeddf 100644 --- a/.github/workflows/pg_later_ext.yml +++ b/.github/workflows/pg_later_ext.yml @@ -129,7 +129,7 @@ jobs: ls -alh ~/.pgrx publish: - # if: startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'release' name: trunk publish needs: dependencies runs-on: ubuntu-22.04 @@ -171,7 +171,10 @@ jobs: TRUNK_API_TOKEN: ${{ secrets.TRUNK_AUTH_TOKEN }} run: ~/.cargo/bin/trunk publish build_and_push: + if: github.event_name == 'release' name: Build and push images + needs: + - dependencies runs-on: - self-hosted - dind diff --git a/images/pglater-pg/Dockerfile b/images/pglater-pg/Dockerfile index a99d9b2..527dddb 100644 --- a/images/pglater-pg/Dockerfile +++ b/images/pglater-pg/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update \ libssl-dev \ make \ pkg-config \ - postgresql-server-dev-15 + postgresql-server-dev-16 # install pgmq RUN git clone https://github.com/tembo-io/pgmq.git && \