Merge pull request #7 from tommyvange/dev #10
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 Description | |
on: | |
push: | |
branches: | |
- main # Adjust if your default branch is not "main" | |
paths: | |
- README.md # Trigger only when README.md is updated | |
jobs: | |
update-dockerhub-description: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Update Docker Hub Description | |
uses: peter-evans/dockerhub-description@v4 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: ${{ vars.DOCKER_IMAGE }} | |
readme-filepath: ./README.md # Ensure README.md is in the root of your repository | |
enable-url-completion: true # Optional: Completes relative URLs to absolute ones |