新增dify接口;完善F10请求地址

This commit is contained in:
BBIT-Kai
2026-07-03 09:06:45 +08:00
parent cd16184e0c
commit 73c47bee88
9 changed files with 434 additions and 5 deletions
+50
View File
@@ -0,0 +1,50 @@
$ErrorActionPreference = "Stop"
$VERSION = "1.0"
$IMAGE = "docker.bbitcn.net/bbit_f10/trace"
Write-Host "Gradle installDist"
Write-Host "==============================="
.\gradlew.bat clean installDist
if ($LASTEXITCODE -ne 0) {
throw "installDist failed"
}
Write-Host "Docker Build"
Write-Host "==============================="
docker build ` -t "${IMAGE}:${VERSION}"`
-t "${IMAGE}:latest" `
.
if ($LASTEXITCODE -ne 0) {
throw "docker build failed"
}
Write-Host "Push Version"
Write-Host "==============================="
docker push "${IMAGE}:${VERSION}"
if ($LASTEXITCODE -ne 0) {
throw "push version failed"
}
Write-Host "Push Latest"
Write-Host "==============================="
docker push "${IMAGE}:latest"
if ($LASTEXITCODE -ne 0) {
throw "push latest failed"
}
Write-Host "SUCCESS"
Write-Host "==============================="
Write-Host ""
Write-Host "Published:"
Write-Host " ${IMAGE}:${VERSION}"
Write-Host " ${IMAGE}:latest"