Skip to content

chore: create image script #5

chore: create image script

chore: create image script #5

Workflow file for this run

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@v3
- uses: mr-smithers-excellent/docker-build-push@v6
with:
image: docker-hub-repo/image-name
tags: postgresql-latest
registry: docker.io
buildArgs: DATABASE_TYPE=postgresql
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}