From e36695049af4c6e732a632891bd51b7a9fb66012 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 13 Jun 2024 18:59:49 +0200 Subject: [PATCH] Update Docker Hub description from README --- .github/workflows/hub-description.yaml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/hub-description.yaml diff --git a/.github/workflows/hub-description.yaml b/.github/workflows/hub-description.yaml new file mode 100644 index 0000000..5aa4dc4 --- /dev/null +++ b/.github/workflows/hub-description.yaml @@ -0,0 +1,27 @@ +--- +name: Update Docker Hub Description +on: + push: + branches: + - main + paths: + - README.md + - .github/workflows/hub-description.yaml + +permissions: + contents: read + +jobs: + description: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v4 + with: + username: tobix + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: tobix/pywine + short-description: ${{ github.event.repository.description }}