Add GitHub Actions workflow to auto-update Docker Hub description on push to master/README.md

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2025-11-16 17:07:50 +00:00
parent 7e25125596
commit 8bd51876ae

View File

@@ -0,0 +1,23 @@
name: Update Docker Hub Description
permissions:
contents: read
on:
push:
branches:
- master
paths:
- README.md
- .github/workflows/dockerhub-description.yml
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa #v5
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
repository: pihole/pihole
short-description: ${{ github.event.repository.description }}