Skip to content

Build on Postgres 16 release #4

Build on Postgres 16 release

Build on Postgres 16 release #4

Workflow file for this run

name: test snapshot
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
PG_SNAPSHOT_VERSION: "17"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file docker/Dockerfile --tag "pgxtest:snapshot" --build-arg "PGVERSION=${{ env.PG_SNAPSHOT_VERSION }}" --build-arg "PGCHANNEL=bullseye-pgdg-snapshot"
- name: Test
run: docker run --rm -v `pwd`:/workspace "pgxtest:snapshot" /test.sh