From 60e243eac3681666f857a007dc6c358c3660b190 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 10 Jul 2026 20:07:02 +0000 Subject: [PATCH] ci: run README sync after Docker Hub tag push, non-fatal --- .github/workflows/docker.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index be4d23b..d537d70 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -200,20 +200,6 @@ 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: | @@ -233,3 +219,18 @@ jobs: echo "Creating multi-arch manifest for $tag" docker buildx imagetools create -t "$tag" $digests done + + - name: Checkout + if: env.DOCKERHUB_ENABLED == 'true' && github.ref == 'refs/heads/main' + uses: actions/checkout@v4 + + - name: Update Docker Hub description + if: env.DOCKERHUB_ENABLED == 'true' && github.ref == 'refs/heads/main' + continue-on-error: true + 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