Skip to content

Commit 4edbe1d

Browse files
committed
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>
1 parent cecc411 commit 4edbe1d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)