Skip to content

Merge pull request #6 from mysteriumnetwork/feature/v15 #6

Merge pull request #6 from mysteriumnetwork/feature/v15

Merge pull request #6 from mysteriumnetwork/feature/v15 #6

Workflow file for this run

name: docker-ci
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
pg_version: [13, 14, 15]
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
build-args: PG_VER=${{ matrix.pg_version }}
tags: mysteriumnetwork/pgbackup:${{ matrix.pg_version }}
push: true