refactor: 去掉 top 顶层目录,镜像与部署编排直接放在仓库根下

This commit is contained in:
2025-10-18 21:19:17 +08:00
parent 16abb6fc2e
commit f31f8d3a8e
245 changed files with 129 additions and 88 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# 在示例目录下构建示例镜像(编译 + 运行两阶段均在本机 docker 内完成)
set -euo pipefail
cd "$(dirname "$0")"
IMAGE=${IMAGE:-registry.cn-shanghai.aliyuncs.com/odboy/kenaito:demo-dotnet6}
docker build -t "${IMAGE}" .
if [ "${PUSH:-0}" = "1" ]; then
docker push "${IMAGE}"
fi