Skip to content

Fix issue-153: Server crash and database corruption (#165) #80

Fix issue-153: Server crash and database corruption (#165)

Fix issue-153: Server crash and database corruption (#165) #80

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker build -t perconalab/pg_tde:${{ github.sha }} -t perconalab/pg_tde:latest . -f docker/Dockerfile
docker push -a perconalab/pg_tde