From 91a9142d8a59e803fb9342b529f54f2754099d60 Mon Sep 17 00:00:00 2001 From: "T. Narantuya" Date: Thu, 4 Sep 2025 10:51:38 +0900 Subject: [PATCH] Update PLESK_DEPLOYMENT.md to include new image build options - Added Option A for using a helper script to build and upload images with tagging and registry push capabilities. - Retained Option B for manual build commands. --- PLESK_DEPLOYMENT.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/PLESK_DEPLOYMENT.md b/PLESK_DEPLOYMENT.md index 1125357c..81c51c2c 100644 --- a/PLESK_DEPLOYMENT.md +++ b/PLESK_DEPLOYMENT.md @@ -93,7 +93,20 @@ customer-portal/ ### Image Build and Upload -You can build locally and upload images to Plesk: +Option A — Use the helper script (recommended): + +```bash +# Build both images, tag :latest and a date+sha tag, and write tarballs +scripts/plesk/build-images.sh + +# Custom tag and output directory +scripts/plesk/build-images.sh --tag v1.0.0 --output ./dist + +# Also push to a registry (e.g., GHCR) +scripts/plesk/build-images.sh --tag v1.0.0 --push ghcr.io/ +``` + +Option B — Manual build commands: ```bash # Frontend