Skip to content

Build on Debian 12 bookworm #5

Build on Debian 12 bookworm

Build on Debian 12 bookworm #5

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