Skip to content

Commit d57d4e5

Browse files
committed
Add Github CI action to update Dockerhub description from README
Fixes: #82
1 parent 3ab3c78 commit d57d4e5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-and-push.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ jobs:
8585
fedorapython/fedora-python-tox:${{ matrix.arch }}
8686
fedorapython/fedora-python-tox:${{ matrix.arch }}-f${{ env.FEDORA_VERSION }}
8787
88+
description_update:
89+
name: 'Update Dockerhub description'
90+
if: github.event_name == 'push'
91+
#needs: build-and-push
92+
uses: peter-evans/dockerhub-description@v4
93+
with:
94+
username: ${{ secrets.DOCKERHUB_USERNAME }}
95+
password: ${{ secrets.DOCKERHUB_TOKEN }}
96+
repository: fedorapython/fedora-python-tox
97+
8898
release:
8999
name: 'Update and test manifests'
90100
if: github.event_name == 'push' || github.event_name == 'schedule'

0 commit comments

Comments
 (0)