Repository navigation
feat(postgresql): bump extensions and tools versions #110
This file contains hidden or 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: Build PostgreSQL image | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'postgresql/**' | |
| - '!postgresql/README.md' | |
| - '.github/workflows/build-postgresql.yml' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| security-events: write | |
| strategy: | |
| matrix: | |
| version: ['16.15','17.11','18.6'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Extract PostgreSQL release | |
| id: version | |
| shell: bash | |
| run: echo "release=${VERSION%%.*}" >> $GITHUB_OUTPUT | |
| env: | |
| VERSION: ${{ matrix.version }} | |
| - name: Build and push image | |
| uses: ./.github/actions/build-image | |
| with: | |
| name: postgresql | |
| version: ${{ matrix.version }} | |
| revision: 2 | |
| description: Custom PostgreSQL ${{ steps.version.outputs.release }} image built from sources with additional extensions and tools | |
| license: PostgreSQL | |
| token: ${{ secrets.GITHUB_TOKEN }} |