fix(container): publish scanned image from the build worker #44

Merged
gitchegumi merged 1 commit from kiyi/local-image-publish into main 2026-09-19 16:59:48 -05:00
Member

ComfyUI run 91 built and passed scanning, then spent 37m52s transferring a 4.43 GB image artifact and failed all five finalization attempts. Publish the verified local archive from the same build job after the security gate instead of uploading/downloading image-payload between workers. Reuses the existing signing, evidence storage, archive validation and registry digest checks; image/evidence outputs and sanitized report artifacts remain.

Registry/signing credentials are scoped to the final publishing step. This deliberately replaces separate-job isolation with one trusted disposable worker, restricted to owner dispatch on the protected branch; step scoping is not process isolation. No PR image builds, scanner bypass, storage increase or worker placement change.

Validation: 9 container tests and 10 Forgejo workflow contract tests passed locally, including failure-before-push and output/credential wiring. Full hosted publication is pending a new immutable workflow release and paired uses/library_ref update in ComfyUI. No full build was dispatched. ClamAV performance is unchanged.

Related: Homelab/Comfy-UI#1

ComfyUI run 91 built and passed scanning, then spent 37m52s transferring a 4.43 GB image artifact and failed all five finalization attempts. Publish the verified local archive from the same build job after the security gate instead of uploading/downloading image-payload between workers. Reuses the existing signing, evidence storage, archive validation and registry digest checks; image/evidence outputs and sanitized report artifacts remain. Registry/signing credentials are scoped to the final publishing step. This deliberately replaces separate-job isolation with one trusted disposable worker, restricted to owner dispatch on the protected branch; step scoping is not process isolation. No PR image builds, scanner bypass, storage increase or worker placement change. Validation: 9 container tests and 10 Forgejo workflow contract tests passed locally, including failure-before-push and output/credential wiring. Full hosted publication is pending a new immutable workflow release and paired uses/library_ref update in ComfyUI. No full build was dispatched. ClamAV performance is unchanged. Related: https://git.gitchegumi.com/Homelab/Comfy-UI/issues/1
fix(container): publish scanned image from the build worker
All checks were successful
Workflow acceptance / acceptance (pull_request) Successful in 1m52s
Library checks / tests (pull_request) Successful in 3m12s
Repository security / security-1 (pull_request) Successful in 9m9s
Repository security / security (pull_request) Successful in 0s
3d893097c4
gitchegumi approved these changes 2026-09-19 16:47:01 -05:00
gitchegumi deleted branch kiyi/local-image-publish 2026-09-19 16:59:48 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Homelab/workflows!44
No description provided.