feat: 抽出 demo/ 顶层目录存放使用示例,dotnet6 示例移出镜像目录

This commit is contained in:
2025-11-01 21:24:31 +08:00
parent d3b2c51521
commit 5c929a6ed6
12 changed files with 36 additions and 6 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