Skip to content

Commit

Permalink
Merge dev branch (#1)
Browse files Browse the repository at this point in the history
* support of postgres version 15
* support of older Debian stretch images
* minor changes to pgtune.sh including improvement for disk detection
* new layout for test files and scripts
  • Loading branch information
esgn authored Dec 29, 2022
1 parent 390168e commit 31e60b9
Show file tree
Hide file tree
Showing 36 changed files with 465 additions and 329 deletions.
102 changes: 102 additions & 0 deletions .github/workflows/docker-image-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Build and push pgtuned images

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

jobs:
build:
strategy:
matrix:
include:
- postgres_version: 15
tags: esgn/pgtuned-testing:15, esgn/pgtuned-testing:latest
- postgres_version: 15
postgis_version: 3
tags: esgn/pgtuned-testing:15-3, esgn/pgtuned-testing:postgis-latest
- postgres_version: 14
tags: esgn/pgtuned-testing:14
- postgres_version: 14
postgis_version: 3
tags: esgn/pgtuned-testing:14-3
- postgres_version: 13
tags: esgn/pgtuned-testing:13
- postgres_version: 13
postgis_version: 3
tags: esgn/pgtuned-testing:13-3
- postgres_version: 12
tags: esgn/pgtuned-testing:12
- postgres_version: 12
postgis_version: 3
tags: esgn/pgtuned-testing:12-3
- postgres_version: 11-bullseye
tags: esgn/pgtuned-testing:11
- postgres_version: 11-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:11-3
- postgres_version: 11
postgis_version: 2.5
tags: esgn/pgtuned-testing:11-2.5
- postgres_version: 10-bullseye
tags: esgn/pgtuned-testing:10
- postgres_version: 10-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:10-3
- postgres_version: 10
postgis_version: 2.5
tags: esgn/pgtuned-testing:10-2.5
- postgres_version: 10
postgis_version: 2.4
tags: esgn/pgtuned-testing:10-2.4
- postgres_version: 9.6-bullseye
tags: esgn/pgtuned-testing:9.6
- postgres_version: 9.6-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:9.6-3
- postgres_version: 9.6
postgis_version: 2.5
tags: esgn/pgtuned-testing:9.6-2.5
- postgres_version: 9.6
postgis_version: 2.4
tags: esgn/pgtuned-testing:9.6-2.4
- postgres_version: 9.6
postgis_version: 2.3
tags: esgn/pgtuned-testing:9.6-2.3
- postgres_version: 9.5
tags: esgn/pgtuned-testing:9.5
- postgres_version: 9.5
postgis_version: 3
tags: esgn/pgtuned-testing:9.5-3
- postgres_version: 9.5
postgis_version: 2.5
tags: esgn/pgtuned-testing:9.5-2.5
- postgres_version: 9.5
postgis_version: 2.4
tags: esgn/pgtuned-testing:9.5-24
- postgres_version: 9.5
postgis_version: 2.3
tags: esgn/pgtuned-testing:9.5-2.3

runs-on: ubuntu-latest

steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build docker image
uses: docker/[email protected]
with:
context: .
push: true
build-args: |
POSTGRES_VERSION=${{ matrix.postgres_version }}
POSTGIS_VERSION=${{ matrix.postgis_version }}
tags: ${{ matrix.tags }}
Loading

0 comments on commit 31e60b9

Please sign in to comment.