Skip to content

Commit 112b427

Browse files
committed
fix(docker): 更新前端 GHCR 镜像命名空间
1 parent 665db24 commit 112b427

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: meta
3737
uses: docker/metadata-action@v5
3838
with:
39-
images: ghcr.io/${{ github.repository_owner }}/bili-history-frontend
39+
images: ghcr.io/lifearchiveproject/bili-history-frontend
4040
flavor: |
4141
latest=false
4242
tags: |

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
#### 使用预构建镜像(GitHub Container Registry)
2020

2121
```bash
22-
docker pull ghcr.io/2977094657/bili-history-frontend:latest
23-
docker run --name bili-history-frontend-web -p 5173:80 -d ghcr.io/2977094657/bili-history-frontend:latest
22+
docker pull ghcr.io/lifearchiveproject/bili-history-frontend:latest
23+
docker run --name bili-history-frontend-web -p 5173:80 -d ghcr.io/lifearchiveproject/bili-history-frontend:latest
2424
```
2525

26+
仓库迁移到 `LifeArchiveProject` 后,前端镜像使用 `ghcr.io/lifearchiveproject/bili-history-frontend``ghcr.io/2977094657/...` 属于历史个人账号命名空间,不再作为推荐安装来源。若拉取时提示 `denied``unauthorized`,请确认 GitHub Packages 中对应容器包已设为 Public。
27+
2628
1. 安装[Docker](https://docs.docker.com/get-started/get-docker/).
2729
2. 构建镜像:`docker build -t bili-history-frontend-web:dev .`
2830
3. 启动容器:`docker run --name bili-history-frontend-web -p 5173:80 -d bili-history-frontend-web:dev`

0 commit comments

Comments
 (0)