更改email docker

This commit is contained in:
dxin
2025-11-28 11:43:13 +08:00
parent 16fcc5dc72
commit 07176d5c2f
2 changed files with 3 additions and 3 deletions

View File

@@ -42,4 +42,4 @@ EXPOSE 4997 4998
ARG RUN_PROFILE=sit-us
ENV SPRING_PROFILES_ACTIVE=${RUN_PROFILE}
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /app/flymoon-email.jar --spring.profiles.active=${SPRING_PROFILES_ACTIVE}"]
ENTRYPOINT ["sh", "-c", "exec java $JAVA_OPTS -jar /app/flymoon-email.jar --spring.profiles.active=${SPRING_PROFILES_ACTIVE}"]

View File

@@ -28,7 +28,7 @@ pipeline {
environment {
REGISTRY = "uswccr.ccs.tencentyun.com" // 镜像仓库地址
NAMESPACE = "lessie${params.NAME_SPACES}" // 命名空间根据choices的选择拼接
IMAGE_NAME = "lessie-ai-web" // 镜像名(固定前缀)
IMAGE_NAME = "lessie-official-web" // 镜像名(固定前缀)
CREDENTIALS_ID = "dxin_img_hub_auth" // 容器仓库凭证ID
}
@@ -153,7 +153,7 @@ pipeline {
post {
always {
script {
def keepCount = 2
def keepCount = 1
echo "开始清理本地旧镜像,仅保留最近 ${keepCount} 个构建版本"
def imagePrefix = "${REGISTRY}/${NAMESPACE}/${IMAGE_NAME}"