ci: Gitea Actions 自动部署到 OCI #4
Reference in New Issue
Block a user
Delete Branch "ci/gitea-actions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3
新增
.gitea/workflows/deploy.yml,每次推送到master分支时自动触发:actions/checkout拉取代码npm ci安装前端依赖make deploy-oci— 编译 ARM musl 二进制、打包前端、上传到 OCI、构建镜像、apply k8s manifests、rollout restart部署目标:https://repo-vis.oci.euphon.net
Runner 使用
self-hosted(host 模式,cpc-i7),SSH 密钥已在该机器上,无需额外配置 secrets。Pull request closed