fix: keep secrets out of the service images

Each Java module's build context now holds only its jar, and
local/image-check.sh fails an image that carries a key file, a private
key under any name, or a secret setting with a built-in default. It
found one: service-email defaulted SMSS360_APIKEY to a real-looking key,
now removed (the key is in git history and must be rotated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-30 10:15:29 +08:00
1 parent 3c093068a3
commit 7ba427ad44
11 files changed
+88 -3

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
# The image needs only the built jar; nothing else from the module enters the build context.
*
!target/*.jar