From 1d656ff120a5ee5121ff04cbb13ad8e653c2b4e4 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Wed, 25 Feb 2026 23:38:43 +0000 Subject: [PATCH] build(*): Set up docker repository overview syncing from readme --- .github/dependabot.yml | 6 +++++ .github/workflows/release.yml | 43 ++++++++++++++++++++++++++++++++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 375c107..78b42a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,27 @@ concurrency: cancel-in-progress: false jobs: + changed-files: + runs-on: ubuntu-latest + permissions: + contents: read + outputs: + readme: ${{ steps.filter.outputs.readme }} + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Detect changed files + id: filter + uses: dorny/paths-filter@v3 + with: + filters: | + readme: + - README.md + release: runs-on: ubuntu-latest permissions: @@ -38,7 +59,7 @@ jobs: - name: Create Git tag + GitHub release id: semantic - uses: cycjimmy/semantic-release-action@v5.0.2 + uses: cycjimmy/semantic-release-action@v5 with: extra_plugins: | @semantic-release/commit-analyzer @@ -89,3 +110,23 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + + dockerhub-overview: + needs: changed-files + if: needs.changed-files.outputs.readme == 'true' + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Update Docker Hub repository overview + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ env.IMAGE_NAME }} + short-description: ${{ github.event.repository.description }} + enable-url-completion: true