From 676307bc43c943373f43b2317d1b0cf254dd5279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=BB=8D=E5=BA=B7?= <3052147989@qq.com> Date: Sat, 7 Mar 2026 22:57:48 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0GHCR=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E4=B8=8E=E5=8F=91=E5=B8=83=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fd3757f..b3f4eda 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) [![Docker](https://img.shields.io/badge/docker-ready-brightgreen.svg)](https://hub.docker.com/r/guangshanshui/outlook-email-plus) +[![GHCR](https://img.shields.io/badge/GHCR-ready-blue.svg)](https://github.com/ZeroPointSix/outlookEmailPlus/pkgs/container/outlook-email-plus) ## ✨ 核心特性 @@ -51,8 +52,12 @@ ### 使用 Docker(推荐) ```bash -# 拉取镜像 -docker pull guangshanshui/outlook-email-plus:latest +# 拉取镜像(默认推荐 GHCR:由 GitHub Actions 自动发布) +docker pull ghcr.io//outlook-email-plus:latest +# 例如:ghcr.io/zeropointsix/outlook-email-plus:latest + +# 或 Docker Hub(需要仓库配置 DOCKERHUB_USERNAME / DOCKERHUB_TOKEN Secrets 才会自动发布) +# docker pull guangshanshui/outlook-email-plus:latest # 运行容器 docker run -d \ @@ -61,7 +66,7 @@ docker run -d \ -v $(pwd)/data:/app/data \ -e LOGIN_PASSWORD=admin123 \ -e SECRET_KEY=your-secret-key-here \ - guangshanshui/outlook-email-plus:latest + ghcr.io//outlook-email-plus:latest # 访问应用 # 浏览器打开 http://localhost:5000 @@ -74,7 +79,7 @@ version: '3.8' services: outlook-email-plus: - image: guangshanshui/outlook-email-plus:latest + image: ghcr.io//outlook-email-plus:latest container_name: outlook-email-plus ports: - "5000:5000"