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.
This commit is contained in:
parent
9fe9c59f10
commit
91a9142d8a
@ -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/<org>
|
||||
```
|
||||
|
||||
Option B — Manual build commands:
|
||||
|
||||
```bash
|
||||
# Frontend
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user