Drop postgres 11, add postgres 16 #261
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: Build docker image | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
POSTGRES16: '16.1' | |
POSTGRES15: '15.5' | |
POSTGRES14: '14.10' | |
POSTGRES13: '13.13' | |
POSTGRES12: '12.17' | |
jobs: | |
postgres-16: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: amd64,arm64 | |
- uses: docker/setup-buildx-action@v1 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.POSTGRES16 }} | |
tags: 16,latest | |
platform: linux/amd64,linux/arm64 | |
postgres-15: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: amd64,arm64 | |
- uses: docker/setup-buildx-action@v1 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.POSTGRES15 }} | |
tags: 15 | |
platform: linux/amd64,linux/arm64 | |
postgres-14: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: amd64,arm64 | |
- uses: docker/setup-buildx-action@v1 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.POSTGRES14 }} | |
tags: 14 | |
platform: linux/amd64,linux/arm64 | |
postgres-13: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: amd64,arm64 | |
- uses: docker/setup-buildx-action@v1 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.POSTGRES13 }} | |
tags: 13 | |
platform: linux/amd64,linux/arm64 | |
postgres-12: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: amd64,arm64 | |
- uses: docker/setup-buildx-action@v1 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.POSTGRES12 }} | |
tags: 12 | |
platform: linux/amd64,linux/arm64 |