From c9332ee509988c0ca3a6104b59d1b771e7b7718e Mon Sep 17 00:00:00 2001 From: bbbugg Date: Fri, 16 Jan 2026 18:44:04 +0800 Subject: [PATCH] chore: update image references from ibenzene to ibuhub in documentation and configuration files --- .github/workflows/docker.yml | 17 ++++++++++++++--- README.md | 6 +++--- README_EN.md | 6 +++--- docs/en/claw-cloud-run.md | 2 +- docs/en/zeabur.md | 2 +- docs/zh/claw-cloud-run.md | 2 +- docs/zh/zeabur.md | 2 +- src/utils/VersionChecker.js | 4 ++-- ui/app/pages/StatusPage.vue | 4 ++-- 9 files changed, 28 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2fc31d8e..d3fbef67 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,7 +12,8 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository_owner }}/aistudio-to-api + IMAGE_NAME_PRIMARY: ibuhub/aistudio-to-api + IMAGE_NAME_LEGACY: ibenzene/aistudio-to-api VERSION: ${{ github.ref_name }} jobs: @@ -48,7 +49,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 - - name: Log into registry ${{ env.REGISTRY }} + - name: Log into registry (primary) if: github.event_name != 'pull_request' uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: @@ -56,11 +57,21 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Log into registry (legacy - ibenzene) + if: github.event_name != 'pull_request' + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 + with: + registry: ${{ env.REGISTRY }} + username: ibenzene + password: ${{ secrets.LEGACY_REGISTRY_TOKEN }} + - name: Extract Docker metadata id: meta uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: | + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PRIMARY }} + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LEGACY }} tags: | type=ref,event=tag type=raw,value=${{ steps.generate_tag.outputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }} diff --git a/README.md b/README.md index 7e8ffec0..45228781 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ 1. 克隆仓库: ```bash -git clone https://github.com/iBenzene/AIStudioToAPI.git +git clone https://github.com/iBUHub/AIStudioToAPI.git cd AIStudioToAPI ``` @@ -66,7 +66,7 @@ docker run -d \ -e API_KEYS=your-api-key-1,your-api-key-2 \ -e TZ=Asia/Shanghai \ --restart unless-stopped \ - ghcr.io/ibenzene/aistudio-to-api:latest + ghcr.io/ibuhub/aistudio-to-api:latest ``` 参数说明: @@ -85,7 +85,7 @@ name: aistudio-to-api services: app: - image: ghcr.io/ibenzene/aistudio-to-api:latest + image: ghcr.io/ibuhub/aistudio-to-api:latest container_name: aistudio-to-api ports: - 7860:7860 diff --git a/README_EN.md b/README_EN.md index 675e980d..8376d160 100644 --- a/README_EN.md +++ b/README_EN.md @@ -22,7 +22,7 @@ A tool that wraps Google AI Studio web interface to provide OpenAI API and Gemin 1. Clone the repository: ```bash -git clone https://github.com/iBenzene/AIStudioToAPI.git +git clone https://github.com/iBUHub/AIStudioToAPI.git cd AIStudioToAPI ``` @@ -66,7 +66,7 @@ docker run -d \ -e API_KEYS=your-api-key-1,your-api-key-2 \ -e TZ=Asia/Shanghai \ --restart unless-stopped \ - ghcr.io/ibenzene/aistudio-to-api:latest + ghcr.io/ibuhub/aistudio-to-api:latest ``` Parameters: @@ -85,7 +85,7 @@ name: aistudio-to-api services: app: - image: ghcr.io/ibenzene/aistudio-to-api:latest + image: ghcr.io/ibuhub/aistudio-to-api:latest container_name: aistudio-to-api ports: - 7860:7860 diff --git a/docs/en/claw-cloud-run.md b/docs/en/claw-cloud-run.md index a2be55bd..7f2ef910 100644 --- a/docs/en/claw-cloud-run.md +++ b/docs/en/claw-cloud-run.md @@ -9,7 +9,7 @@ This guide will help you deploy the `aistudio-to-api` service on [Claw Cloud Run 3. **Configure Application**: Fill in the following parameters: - **Application Name**: Enter any name you prefer (e.g., `aistudio-api`). - **Image**: Select **Public**. - - **Image Name**: `ghcr.io/ibenzene/aistudio-to-api:latest` + - **Image Name**: `ghcr.io/ibuhub/aistudio-to-api:latest` **Usage**: - **CPU**: `0.5` diff --git a/docs/en/zeabur.md b/docs/en/zeabur.md index 113eb634..ee676586 100644 --- a/docs/en/zeabur.md +++ b/docs/en/zeabur.md @@ -13,7 +13,7 @@ This guide will help you deploy the `aistudio-to-api` service on [Zeabur](https: 4. **Configure Application**: Fill in the following parameters: **Image**: - - **Image Name**: `ghcr.io/ibenzene/aistudio-to-api:latest` + - **Image Name**: `ghcr.io/ibuhub/aistudio-to-api:latest` - **Username**: Leave empty - **Password**: Leave empty diff --git a/docs/zh/claw-cloud-run.md b/docs/zh/claw-cloud-run.md index b5b3288c..496cb87d 100644 --- a/docs/zh/claw-cloud-run.md +++ b/docs/zh/claw-cloud-run.md @@ -9,7 +9,7 @@ 3. **配置应用**:填写以下参数: - **Application Name**:填写一个你喜欢的英文名称(例如 `aistudio-api`)。 - **Image**:选择 **Public**。 - - **Image Name**:`ghcr.io/ibenzene/aistudio-to-api:latest` + - **Image Name**:`ghcr.io/ibuhub/aistudio-to-api:latest` **Usage**: - **CPU**:`0.5` diff --git a/docs/zh/zeabur.md b/docs/zh/zeabur.md index 17698224..9b56500c 100644 --- a/docs/zh/zeabur.md +++ b/docs/zh/zeabur.md @@ -13,7 +13,7 @@ 4. **配置应用**:填写以下参数: **镜像**: - - **镜像名称**:`ghcr.io/ibenzene/aistudio-to-api:latest` + - **镜像名称**:`ghcr.io/ibuhub/aistudio-to-api:latest` - **用户名**:不用填写 - **密码**:不用填写 diff --git a/src/utils/VersionChecker.js b/src/utils/VersionChecker.js index 975e002c..7ac672e4 100644 --- a/src/utils/VersionChecker.js +++ b/src/utils/VersionChecker.js @@ -14,7 +14,7 @@ const axios = require("axios"); class VersionChecker { constructor(logger) { this.logger = logger; - this.repoOwner = "iBenzene"; + this.repoOwner = "iBUHub"; this.repoName = "AIStudioToAPI"; } @@ -66,7 +66,7 @@ class VersionChecker { * @returns {Promise} */ async checkDockerImageExists(tag) { - const image = "ibenzene/aistudio-to-api"; + const image = "ibuhub/aistudio-to-api"; const registry = "ghcr.io"; const manifestUrl = `https://${registry}/v2/${image}/manifests/${tag}`; diff --git a/ui/app/pages/StatusPage.vue b/ui/app/pages/StatusPage.vue index 6910d8b9..5a59750f 100644 --- a/ui/app/pages/StatusPage.vue +++ b/ui/app/pages/StatusPage.vue @@ -318,7 +318,7 @@