`buildah images --format '{{.ID}}' | head -1` lets head close the pipe
before buildah finishes writing, sending it SIGPIPE; under `set -o
pipefail` the step fails with exit 141 even though the image built and
tagged fine. Observed in the v2.27.0-alpha.2 run (image succeeded,
"Writing manifest"/"Successfully tagged", then 141).
Capture the full output and take the first line via shell expansion —
no pipe, no SIGPIPE.
|
||
|---|---|---|
| .. | ||
| release-tools/tasks | ||
| tasks | ||
| code-scans.yaml | ||
| on-pull-request.yaml | ||
| on-push-to-main.yaml | ||
| on-tag-push-release.yaml | ||
| openspec-validate-pr.yaml | ||
| openspec-validate-push.yaml | ||
| release-tools-on-pull-request-build.yaml | ||
| release-tools-on-tag-publish.yaml | ||
| repository.yaml | ||