Skip to content

Commit 436e731

Browse files
committed
Workflow - set Docker Hub overview from readme
1 parent dc258a0 commit 436e731

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,13 @@ jobs:
2828
--tag ${{ vars.DOCKER_USERNAME }}/kv:latest
2929
3030
docker push ${{ vars.DOCKER_USERNAME }}/kv:${TIMESTAMP}
31-
docker push ${{ vars.DOCKER_USERNAME }}/kv:latest
31+
docker push ${{ vars.DOCKER_USERNAME }}/kv:latest
32+
33+
- name: Update Docker Hub Description
34+
uses: peter-evans/dockerhub-description@v3
35+
with:
36+
username: ${{ vars.DOCKER_USERNAME }}
37+
password: ${{ secrets.DOCKER_PAT }}
38+
repository: ${{ vars.DOCKER_USERNAME }}/kv
39+
readme-filepath: ./README.md
40+
short-description: "A lightweight key-value store with HTTP API built using ReactPHP and SQLite"

0 commit comments

Comments
 (0)