基于 Happy 仓库构建的 Docker 镜像并推送至腾讯云镜像仓库。
TENCENT_USERNAME=xxxxxxxx TENCENT_PASSWORD='你的腾讯云镜像密码' node scripts/deploy.js latest默认会构建并推送 linux/amd64,linux/arm64 多架构镜像。如需覆盖构建架构,可设置 PLATFORMS:
PLATFORMS=linux/amd64 TENCENT_USERNAME=xxxxxxxx TENCENT_PASSWORD='你的腾讯云镜像密码' node scripts/deploy.js latest脚本会获取上游 slopus/happy 到本地 upstream/ 目录,并移除 .git,以纯源码快照作为 Docker 构建上下文:
Dockerfile.webapp->ccr.ccs.tencentyun.com/sooosin/happy-app:<tag>Dockerfile->ccr.ccs.tencentyun.com/sooosin/happy-server:<tag>
upstream/ 已加入 .gitignore,不会被提交到当前仓库。