Skip to content

fix(ci): drop orphaned loop keywords from the manifest step - #3

Merged
ykhrustalev merged 1 commit into
mainfrom
ykhrustalev/fix-manifest-step
Aug 11, 2026
Merged

ykhrustalev merged 1 commit into
mainfrom
ykhrustalev/fix-manifest-step

Conversation

@ykhrustalev

Copy link
Copy Markdown
Member

Problem
docker-image-publish fails with syntax error near unexpected token 'done'. When the manifest step was reduced to publishing a single tag, its surrounding for loop was removed but the trailing break/done were left behind. YAML parsing does not catch this — inside a block scalar they are just text.

Solution

  • Removes the two orphaned lines

Testing

  • Extracted every run: block in the workflow and ran bash -n over it; clean afterwards

The manifest step lost its surrounding for-loop when it was reduced to a
single tag, but kept the trailing `break`/`done`. Bash rejects the step
with "syntax error near unexpected token 'done'", so docker-image-publish
fails on any push that reaches it. YAML parsing cannot catch this: inside a
block scalar the leftover keywords are just text.
@ykhrustalev
ykhrustalev force-pushed the ykhrustalev/fix-manifest-step branch from 61f645b to 33c2c19 Compare August 11, 2026 02:13
@ykhrustalev
ykhrustalev merged commit d93e2e1 into main Aug 11, 2026
6 checks passed
@ykhrustalev
ykhrustalev deleted the ykhrustalev/fix-manifest-step branch August 11, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant