Skip to content

Commit 8b51189

Browse files
feat: add automatic Docker Hub README sync (#286)
- Add peter-evans/dockerhub-description action to Docker workflow - Automatically updates Docker Hub README and description on each release - Uses existing DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets - Syncs main README.md to Docker Hub repository page Closes #285
1 parent d72acd6 commit 8b51189

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/docker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,12 @@ jobs:
6363
ghcr.io/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}
6464
cache-from: type=gha
6565
cache-to: type=gha,mode=max
66+
67+
- name: Update Docker Hub README
68+
uses: peter-evans/dockerhub-description@v4
69+
with:
70+
username: ${{ secrets.DOCKERHUB_USERNAME }}
71+
password: ${{ secrets.DOCKERHUB_TOKEN }}
72+
repository: joshrotenberg/redisctl
73+
readme-filepath: ./README.md
74+
short-description: "Unified CLI for Redis Cloud and Redis Enterprise management"

0 commit comments

Comments
 (0)