diff --git a/.github/workflows/build_tembo_pg_slim.yaml b/.github/workflows/build_tembo_pg_slim.yaml index 53bd959..cd77deb 100644 --- a/.github/workflows/build_tembo_pg_slim.yaml +++ b/.github/workflows/build_tembo_pg_slim.yaml @@ -267,8 +267,11 @@ jobs: env: CONTAINER_NAME: "dw-cnpg" steps: + - name: Skip job if matrix.pg_version is 17 + run: echo "Skipping build for PostgreSQL version 17" && exit 0 - uses: actions/checkout@v4 - name: Build Docker images based on conditions + if: ${{ matrix.pg_version != '17' }} run: | 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