0.11.1: 旗舰版完善(资源权限等级/个人环境变量/收藏/企业报表/租户概览/ARM64发布/多渠道接入)
- 迁移 000035-000037(权限等级/环境变量/渠道) - 新增 internal/channel 渠道抽象层(webhook/企微/钉钉/飞书) - 全部功能端到端验证通过(25 包单测)
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# 多架构镜像发布(amd64 + arm64)。用法:
|
||||
# ./scripts/publish-images.sh <image-registry>/ai-gateway:0.11.0
|
||||
# 前置:已启用 docker buildx(docker buildx create --use)。
|
||||
set -euo pipefail
|
||||
|
||||
TAG="${1:?用法: publish-images.sh <registry>/<repo>:<tag>}"
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> 构建并推送多架构镜像: ${TAG}"
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--build-arg VERSION="${TAG##*:}" \
|
||||
-t "${TAG}" \
|
||||
--push \
|
||||
-f deploy/Dockerfile .
|
||||
|
||||
echo "==> 完成: ${TAG} (amd64 + arm64)"
|
||||
Reference in New Issue
Block a user