File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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+
26281 . 安装[ Docker] ( https://docs.docker.com/get-started/get-docker/ ) .
27292 . 构建镜像:` docker build -t bili-history-frontend-web:dev . `
28303 . 启动容器:` docker run --name bili-history-frontend-web -p 5173:80 -d bili-history-frontend-web:dev `
You can’t perform that action at this time.
0 commit comments