From 7767d713d7b48c9a4e0c551d7afaef5a764afb8d Mon Sep 17 00:00:00 2001 From: RainySY Date: Thu, 9 Apr 2026 04:07:12 +0800 Subject: [PATCH] feat: sync readme to dockerhub overview --- .github/workflows/go.yml | 8 ++++++++ README.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 431f696..f15e535 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -108,3 +108,11 @@ jobs: # 借用 Github 的高速缓存,让你后续的打包时间缩短成几秒! cache-from: type=gha cache-to: type=gha,mode=max + + - name: Sync README to DockerHub (自动更新主页排版) + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ secrets.DOCKERHUB_USERNAME }}/123pan-imagehost + readme-filepath: ./README.md diff --git a/README.md b/README.md index 17b4fb1..d559e02 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ docker run -d \ -e PARENT_FILE_ID="" \ -e API_TOKEN="PRIVATE_123_KEY" \ -e TZ="Asia/Shanghai" \ - 你的用户名/123pan-imagehost:latest + rainysyc/123pan-imagehost:latest ``` ---