refactor: 目录重构为 top/image(自建镜像)与 top/app(部署编排)

This commit is contained in:
2025-10-11 21:45:40 +08:00
parent f17b8677b1
commit 16abb6fc2e
242 changed files with 125 additions and 25 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