Skip to content

fix(release): force bash on container Syft step (pipefail) - #507

Merged
krisarmstrong merged 1 commit into
mainfrom
fix/release-pipefail-shell
Jul 9, 2026
Merged

fix(release): force bash on container Syft step (pipefail)#507
krisarmstrong merged 1 commit into
mainfrom
fix/release-pipefail-shell

Conversation

@krisarmstrong

@krisarmstrong krisarmstrong commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

stem's goreleaser-cross release build fails with Illegal option -o pipefail — the Syft install step runs in the container's sh (dash) without shell: bash. Adds it. Same fix already merged in niac; this is why stem has never cut a successful goreleaser-cross release (the June-8 migration was never exercised until the bogus v1.0.0, which died here).

Linked Issue

Related to #504 (unblocks the stem release pipeline left broken after the 1.0.0 cleanup).

Testing Evidence

Root cause from the failed v1.0.0 run: set: Illegal option -o pipefail
YAML validated OK

Security and Release Checklist

  • Workflow-only; no untrusted input
  • shell:bash is the standard container pipefail fix

The goreleaser-cross container runs steps with sh (dash), which rejects
'set -o pipefail'. The Syft install step lacked shell:bash, failing the
release build with 'Illegal option -o pipefail' — this killed the first
goreleaser-cross release attempt (the bogus v1.0.0). Same fix already
applied to niac. Unblocks stem releases.
@github-actions github-actions Bot added the ci label Jul 9, 2026
@krisarmstrong
krisarmstrong enabled auto-merge (squash) July 9, 2026 23:29
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

License Compliance Report

All dependencies pass license compliance checks

Go Dependencies

  • Unknown: 35 package(s)
  • MIT: 25 package(s)
  • BSD-3-Clause: 16 package(s)
  • Apache-2.0: 11 package(s)
  • BSD-2-Clause: 1 package(s)

npm Dependencies

See full report in workflow artifacts

Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0
Forbidden: GPL, AGPL, SSPL (strong copyleft)

@krisarmstrong
krisarmstrong merged commit e3dfd63 into main Jul 9, 2026
30 of 31 checks passed
@krisarmstrong
krisarmstrong deleted the fix/release-pipefail-shell branch July 9, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant