Skip to content

Update

Update #6

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file DataBreachDetector/Dockerfile --tag maheshbinayak1/databreachdetector:latest
- name: Log in to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Push the Docker image
run: docker push maheshbinayak1/databreachdetector:latest