Skip to content

Commit

Permalink
Bump Trunk CLI to 0.12.21 (#64)
Browse files Browse the repository at this point in the history
* Bump Trunk CLI to 0.12.21

* Don't build ML for Pg14
  • Loading branch information
vrmiguel authored Mar 13, 2024
1 parent d0a0d21 commit c82bf17
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_tembo_pg_slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ jobs:
- uses: actions/checkout@v4
- name: Build Docker images based on conditions
run: |
if [[ "${{ matrix.pg_version }}" == "14" ]]; then
echo "Skipping build ML for Postgres 14"
exit 0
fi
IMAGE_NAME=$CONTAINER_NAME:${{ matrix.pg_version }}
docker build ./$CONTAINER_NAME --build-arg PG_VERSION=${{ matrix.pg_version }} --build-arg TAG=${{ needs.pre-build.outputs.short_sha }} -t $IMAGE_NAME
shell: bash
Expand All @@ -211,6 +215,10 @@ jobs:
- name: Push to Quay
shell: bash
run: |
if [[ "${{ matrix.pg_version }}" == "14" ]]; then
echo "Skipping publishing ML for Postgres 14"
exit 0
fi
set -xe
IMAGE_NAME=$CONTAINER_NAME:${{ matrix.pg_version }}
IFS=' ' read -ra TAG_ARRAY <<< "${{ needs.pre-build.outputs.tags }}"
Expand All @@ -229,6 +237,10 @@ jobs:
- name: Push to ECR
shell: bash
run: |
if [[ "${{ matrix.pg_version }}" == "14" ]]; then
echo "Skipping publishing ML for Postgres 14"
exit 0
fi
set -xe
IMAGE_NAME=$CONTAINER_NAME:${{ matrix.pg_version }}
IFS=' ' read -ra TAG_ARRAY <<< "${{ needs.pre-build.outputs.tags }}"
Expand Down
2 changes: 1 addition & 1 deletion standard-cnpg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG TAG=latest

FROM rust:1.74-bookworm as builder

ARG TRUNK_VER=0.12.19
ARG TRUNK_VER=0.12.21

ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL sparse
RUN cargo install --version $TRUNK_VER pg-trunk
Expand Down
2 changes: 1 addition & 1 deletion tembo-pg-cnpg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG PG_VERSION=15

FROM rust:1.70-bookworm as builder

ARG TRUNK_VER=0.12.12
ARG TRUNK_VER=0.12.21

ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL sparse
RUN cargo install --version $TRUNK_VER pg-trunk
Expand Down

0 comments on commit c82bf17

Please sign in to comment.