Skip to content

Commit fe02698

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

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,21 @@ 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+
runs-on: ubuntu-latest
93+
steps:
94+
- name: Checkout
95+
uses: actions/checkout@v4
96+
- name: 'Update Dockerhub description'
97+
uses: peter-evans/dockerhub-description@v4
98+
with:
99+
username: ${{ secrets.DOCKERHUB_USERNAME }}
100+
password: ${{ secrets.DOCKERHUB_TOKEN }}
101+
repository: fedorapython/fedora-python-tox
102+
88103
release:
89104
name: 'Update and test manifests'
90105
if: github.event_name == 'push' || github.event_name == 'schedule'

0 commit comments

Comments
 (0)