diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
new file mode 100644
index 000000000..88ed2058c
--- /dev/null
+++ b/.github/workflows/image.yml
@@ -0,0 +1,41 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Docker 镜像 构建
+
+on:
+ push:
+ branches: [ jdk17-dev ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java-version: [ 17 ]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK ${{ matrix.java-version }}
+ uses: actions/setup-java@v4
+ with:
+ java-version: ${{ matrix.java-version }}
+ distribution: 'zulu'
+
+ - name: mvn clean install
+ run: mvn clean install -Pcloud
+
+ - name: Login to Docker Registry
+ run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} registry.cn-hangzhou.aliyuncs.com
+
+ - name: Build and push Docker images
+ run: |
+ docker compose build
+ registry="registry.cn-hangzhou.aliyuncs.com/pigx/"
+ for service in $(docker-compose config --services); do
+ if [ "$service" != "pig-redis" ]; then
+ docker tag ${service}:latest ${registry}${service}:latest
+ docker push ${registry}${service}:latest
+ else
+ echo "Skipping pig-redis service"
+ fi
+ done
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index a68c59ad1..3df333c1f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-name: PIG 构建action
+name: maven 编译检查
on:
push:
diff --git a/pig-auth/src/main/resources/logback-spring.xml b/pig-auth/src/main/resources/logback-spring.xml
index b3ac61a83..78f41208c 100755
--- a/pig-auth/src/main/resources/logback-spring.xml
+++ b/pig-auth/src/main/resources/logback-spring.xml
@@ -21,6 +21,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -56,7 +57,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-common/pig-common-core/src/main/resources/logback-spring.xml b/pig-common/pig-common-core/src/main/resources/logback-spring.xml
index d9daae947..6f224df70 100755
--- a/pig-common/pig-common-core/src/main/resources/logback-spring.xml
+++ b/pig-common/pig-common-core/src/main/resources/logback-spring.xml
@@ -21,6 +21,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -56,7 +57,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-gateway/src/main/resources/logback-spring.xml b/pig-gateway/src/main/resources/logback-spring.xml
index 460810084..fd38ce785 100755
--- a/pig-gateway/src/main/resources/logback-spring.xml
+++ b/pig-gateway/src/main/resources/logback-spring.xml
@@ -21,6 +21,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -56,7 +57,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-upms/pig-upms-biz/src/main/resources/logback-spring.xml b/pig-upms/pig-upms-biz/src/main/resources/logback-spring.xml
index c0ce9c5b1..d0524a330 100644
--- a/pig-upms/pig-upms-biz/src/main/resources/logback-spring.xml
+++ b/pig-upms/pig-upms-biz/src/main/resources/logback-spring.xml
@@ -12,7 +12,8 @@
-
+
+
@@ -34,7 +35,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -47,7 +48,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-visual/pig-codegen/src/main/resources/logback-spring.xml b/pig-visual/pig-codegen/src/main/resources/logback-spring.xml
index a90ada52f..2bf56b3af 100644
--- a/pig-visual/pig-codegen/src/main/resources/logback-spring.xml
+++ b/pig-visual/pig-codegen/src/main/resources/logback-spring.xml
@@ -29,6 +29,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -64,7 +65,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-visual/pig-monitor/src/main/resources/logback-spring.xml b/pig-visual/pig-monitor/src/main/resources/logback-spring.xml
index 460810084..fd38ce785 100755
--- a/pig-visual/pig-monitor/src/main/resources/logback-spring.xml
+++ b/pig-visual/pig-monitor/src/main/resources/logback-spring.xml
@@ -21,6 +21,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -56,7 +57,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR
diff --git a/pig-visual/pig-quartz/src/main/resources/logback-spring.xml b/pig-visual/pig-quartz/src/main/resources/logback-spring.xml
index 3ad26f7ee..13bc712da 100644
--- a/pig-visual/pig-quartz/src/main/resources/logback-spring.xml
+++ b/pig-visual/pig-quartz/src/main/resources/logback-spring.xml
@@ -12,6 +12,7 @@
+
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
@@ -47,7 +48,7 @@
30
- ${CONSOLE_LOG_PATTERN}
+ ${FILE_LOG_PATTERN}
ERROR