更新 cicd:构建后发布 R2 + website 到 GitHub,密钥走配置中心
TDevOpsCICD / build-kit (push) Failing after 55s

This commit is contained in:
cheney
2026-09-08 10:58:16 +08:00
parent 1a929761d5
commit bfc29ea262
5 changed files with 149 additions and 40 deletions
+10 -7
View File
@@ -1,14 +1,17 @@
FROM node:latest
FROM node:20-bookworm
LABEL authors="hq@gpio.me"
WORKDIR /app
ADD index.js /app
RUN npm config set registry http://registry.npmmirror.com
RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl zip python3 \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://bun.sh/install | bash \
&& ln -s /root/.bun/bin/bun /usr/local/bin/bun
RUN npm i pkg -g
RUN pkg -t node14-alpine-arm64 index.js
RUN pkg -t node14-linux-arm64 index.js
ENV PATH="/root/.bun/bin:${PATH}"