Build and deploy immutable registry images
Deploy ComfyUI Jobs / deploy (push) Failing after 4s
Test and build ComfyUI Jobs / test-build (push) Canceled after 8m42s

This commit is contained in:
2026-10-02 20:08:02 +00:00
parent c9fb2fa320
commit 1b17695ff8
5 changed files with 34 additions and 4 deletions
+2
View File
@@ -14,3 +14,5 @@ The first run seeds `data/users.json` from `ADMIN_USERNAME` and `ADMIN_PASSWORD`
## Deployment
Gitea Actions deploys `develop`, `qa`, and `main` to the existing ComfyUiPortal target directories and preserves the existing 7002/6002/5002 port contract. On first startup of a fresh data directory, provide `ADMIN_USERNAME` and `ADMIN_PASSWORD` in the deployment host environment. Existing target data is retained during repository cutover.
The deployment workflow builds an immutable image tagged with the source commit SHA and publishes it to the Gitea container registry. If that SHA-tagged image already exists, the workflow reuses it instead of rebuilding. Configure `REGISTRY_USERNAME` and `REGISTRY_PASSWORD` as Gitea Actions secrets. Compose receives the exact image reference through `IMAGE_REF`, so the same artifact can be redeployed or promoted without rebuilding.