fix(ci): repair pipeline config broken by unquoted ": " in echo #443
@@ -169,4 +169,11 @@ steps:
|
||||
# digest and dedupe, so exactly one unambiguous line is emitted rather than
|
||||
# two near-identical ones for whoever does step 2 to choose between.
|
||||
- DIGEST=$(cut -d@ -f2 /kaniko/z2m-seed.digest | sort -u | head -1)
|
||||
- echo "PIN THIS: gitea.renner.uno/gitea_admin/z2m-seed@$DIGEST"
|
||||
# MUST stay single-quoted as one YAML scalar. Unquoted, the ": " inside
|
||||
# makes YAML parse the whole command as a MAP rather than a string, and the
|
||||
# pipeline fails to compile with
|
||||
# cannot unmarshal 'map[echo "PIN THIS:...' into a string value
|
||||
# which errors EVERY pipeline in the repo, not just this one. Note `yq`
|
||||
# accepts the unquoted form because it is valid YAML — just a map, not a
|
||||
# string — so validate with `woodpecker lint`, not a YAML parser.
|
||||
- 'echo "PIN THIS: gitea.renner.uno/gitea_admin/z2m-seed@$DIGEST"'
|
||||
|
||||
Reference in New Issue
Block a user