mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-19 18:08:35 +00:00
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:
23
.github/workflows/dockerhub-description.yml
vendored
Normal file
23
.github/workflows/dockerhub-description.yml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user