Fix rebuild-all.yml: broken shell loop in push-images step #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
push-imagesstep has aforloop split across YAML list items:Each
-is a separate command. The shell receivesfor ... dowithoutdone(syntax error), then standalonedocker tagwith undefined$SVC.Also, rebuild-all.yml has no
depends_onat all, so build/scan/push steps run in parallel — scans start before builds finish.Fix
Use a YAML block scalar (
|) for the loop and add properdepends_onordering.Acceptance criteria