Skip to content

Commit 8bd5187

Browse files
committed
Add GitHub Actions workflow to auto-update Docker Hub description on push to master/README.md
Signed-off-by: Adam Warner <[email protected]>
1 parent 7e25125 commit 8bd5187

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update Docker Hub Description
2+
permissions:
3+
contents: read
4+
on:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- README.md
10+
- .github/workflows/dockerhub-description.yml
11+
jobs:
12+
dockerHubDescription:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Docker Hub Description
18+
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa #v5
19+
with:
20+
username: ${{ secrets.DOCKERHUB_USER }}
21+
password: ${{ secrets.DOCKERHUB_PASS }}
22+
repository: pihole/pihole
23+
short-description: ${{ github.event.repository.description }}

0 commit comments

Comments
 (0)