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:
|
env:
|
||||||
REGISTRY: ghcr.io
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
# 从 GHCR 拉取镜像(每次 push Lite 自动重建),不再本地构建
|
# 从 GHCR 拉取镜像(每次 push Lite 自动重建),不再本地构建
|
||||||
image: ghcr.io/lezi-fun/forumlify-deploy:lite
|
image: ghcr.io/furrium/forumlify:lite
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in new issue
Block a user