chore: update Dockerfile to install pnpm globally and modify Gitea CI/CD workflow to specify platform
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m58s
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m58s
This commit is contained in:
@@ -44,5 +44,6 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=local,src=/cache
|
||||
cache-to: type=local,dest=/cache,mode=max
|
||||
platforms: linux/amd64,linux/arm64
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
FROM node:22-alpine AS builder
|
||||
|
||||
# 安装 pnpm
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
RUN npm install -g pnpm
|
||||
|
||||
# 设置工作目录
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user