Build on Postgres 16 release #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |