Update README.md #4
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: Update Docker Hub README | |
on: | |
push: | |
branches: | |
- main # Replace 'main' with your default branch name if different | |
paths: | |
- 'README.md' | |
jobs: | |
update-dockerhub-readme: | |
name: Update Docker Hub README | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Update Docker Hub README | |
uses: peter-evans/dockerhub-description@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: ${{ vars.DOCKER_IMAGE }} | |
readme-filepath: README.md |