Skip to content

Updates postgres version on Dockerfile to resolve vulnerability alerts #5

Updates postgres version on Dockerfile to resolve vulnerability alerts

Updates postgres version on Dockerfile to resolve vulnerability alerts #5

Workflow file for this run

name: Build and Push Docker Image on Merged Pull Request
on:
pull_request:
types: [closed]
jobs:
build:
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' && startsWith(github.event.pull_request.head.ref, 'pg-v') }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: mesoform/postgres-ha:latest