[MOSIP-29854]Merging changes to mosip:update #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker Image | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- update | |
pull_request: | |
branches: | |
- master | |
- develop | |
- update | |
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:final | |
- 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:final |