update documentation. Minor bugfixes on log file name. Added UnifiedA… #3
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: Publish Docker image to Dockerhub | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
push_to_dockerhub: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: DockerHub Login | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_REPO }} | |
- name: DockerHub Push | |
run: docker push ${{ secrets.DOCKERHUB_REPO }} |