From 8bd4c466cf971b68145c59a1bdcef8fc3ee56720 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 10 Jul 2026 19:58:15 +0000 Subject: [PATCH] ci: sync README to Docker Hub description in publish job --- .github/workflows/docker.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fd671a6..be4d23b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -200,6 +200,20 @@ jobs: type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} type=semver,pattern={{major}}.{{minor}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} + - name: Checkout + if: env.DOCKERHUB_ENABLED == 'true' + uses: actions/checkout@v4 + + - name: Update Docker Hub description + if: env.DOCKERHUB_ENABLED == 'true' && github.ref == 'refs/heads/main' + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ env.DOCKERHUB_IMAGE }} + short-description: "Lean PostgreSQL 18 with pgvector, PostGIS, pg_textsearch, pg_partman" + readme-filepath: ./README.md + - name: Create and push Docker Hub manifests if: env.DOCKERHUB_ENABLED == 'true' run: |