feat: sync readme to dockerhub overview
Some checks failed
Go Build & Release / build (amd64, imagehost-linux-amd64, linux) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-macos-amd64, darwin) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-windows-amd64.exe, windows) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-linux-arm64, linux) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-macos-arm64, darwin) (push) Has been cancelled
Go Build & Release / docker (push) Has been cancelled

This commit is contained in:
RainySY
2026-04-09 04:07:12 +08:00
parent 49eb09aa64
commit 7767d713d7
2 changed files with 9 additions and 1 deletions

View File

@@ -108,3 +108,11 @@ jobs:
# 借用 Github 的高速缓存,让你后续的打包时间缩短成几秒! # 借用 Github 的高速缓存,让你后续的打包时间缩短成几秒!
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max 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

View File

@@ -129,7 +129,7 @@ docker run -d \
-e PARENT_FILE_ID="" \ -e PARENT_FILE_ID="" \
-e API_TOKEN="PRIVATE_123_KEY" \ -e API_TOKEN="PRIVATE_123_KEY" \
-e TZ="Asia/Shanghai" \ -e TZ="Asia/Shanghai" \
你的用户名/123pan-imagehost:latest rainysyc/123pan-imagehost:latest
``` ```
--- ---