revert: 示例回到 image/compile-dotnet6/demo,移除顶层 demo 目录

This commit is contained in:
2025-11-08 21:55:08 +08:00
parent 5c929a6ed6
commit 1976816e4e
12 changed files with 6 additions and 36 deletions
-11
View File
@@ -1,11 +0,0 @@
#!/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