woodpecker: quote buildah commands (YAML colon-space parse fix)
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/build Pipeline failed
woodpecker interpolates ${CI_COMMIT_TAG} into the raw pipeline text before YAML
parsing; when empty, '-t $${IMG}:${CI_COMMIT_TAG} .' collapses to '... : .'
and the colon-space is parsed as a map key ('cannot unmarshal map ... into a
string value'). Quote every buildah command so it stays a scalar.
This commit is contained in:
@@ -7,7 +7,7 @@ steps:
|
||||
- name: build
|
||||
image: quay.io/buildah/stable
|
||||
commands:
|
||||
- buildah build --isolation chroot --storage-driver vfs -t plugin-docker-buildx:${CI_COMMIT_SHA} .
|
||||
- "buildah build --isolation chroot --storage-driver vfs -t plugin-docker-buildx:${CI_COMMIT_SHA} ."
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: plugin-docker-buildx
|
||||
|
||||
Reference in New Issue
Block a user