Merge pull request #412 from C4illin/renovate/peter-evans-dockerhub-d… #34
This file contains hidden or 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 | |
| env: | |
| IMAGE_NAME: ${{ github.repository }} | |
| DOCKERHUB_USERNAME: c4illin | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - README.md | |
| - .github/workflows/dockerhub-description.yml | |
| jobs: | |
| dockerHubDescription: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Docker Hub Description | |
| uses: peter-evans/dockerhub-description@v5 | |
| with: | |
| username: ${{ env.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| repository: ${{ env.IMAGE_NAME }} | |
| short-description: ${{ github.event.repository.description }} | |
| enable-url-completion: true |