This commit is contained in:
xiongxiao
2026-01-12 12:25:04 +08:00
parent 183a3b90c1
commit 2962932868
2 changed files with 5 additions and 23 deletions

View File

@@ -68,8 +68,10 @@ main:
- vscode
- docker
stages:
- name: 安装包
script: cd blogs && pnpm i
- name: 打包应用
script: npm run build
script: cd blogs && pnpm build
# 同名镜像构建&推送
- name: Docker build
script: docker build -t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:latest .