fix: push to ghcr.io/furrium/forumlify:lite (repo's own GHCR package)
GITHUB_TOKEN from Furrium/forumlify cannot push lezi-fun/forumlify-deploy (permission_denied). Use github.repository → ghcr.io/furrium/forumlify:lite in workflow and compose.
This commit is contained in:
1 parent
aa9bcd8d12
commit
39f219d2ac
2 files changed
+4
-2
No files matched your search
@@ -8,7 +8,9 @@ on:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: lezi-fun/forumlify-deploy
|
||||
# 推仓库自己的 GHCR 包(github.repository = Furrium/forumlify)——
|
||||
# 仓库 GITHUB_TOKEN 无权推跨仓库包(如 lezi-fun/forumlify-deploy)
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ services:
|
||||
|
||||
app:
|
||||
# 从 GHCR 拉取镜像(每次 push Lite 自动重建),不再本地构建
|
||||
image: ghcr.io/lezi-fun/forumlify-deploy:lite
|
||||
image: ghcr.io/furrium/forumlify:lite
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
|
||||
Reference in new issue
Block a user