Skip to content

Merge pull request #2 from ratulSharker/adding-readme #5

Merge pull request #2 from ratulSharker/adding-readme

Merge pull request #2 from ratulSharker/adding-readme #5

name: Docker Image Push
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker compose build
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Push to Docker hub
run: docker compose push