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 ``` ---