Install syft under the CI retry wrapper, pinned and checksummed - #279
Merged
Conversation
The download-syft action fetches the binary from the GitHub release CDN with no retry, and a transient download failure took down a whole docker publish job. The install is now a plain release download run under the existing with-retry.sh wrapper (the same one that already covers the cosign OIDC flake), with the version pinned and the tarball verified against the release's checksums file inside the retried block, so a truncated download retries rather than failing or landing. cosign is still installed via its action; it has not flaked yet, and can move to the same pattern if it ever does.
SiteRelEnby
force-pushed
the
ci/retry-syft-install
branch
from
September 9, 2026 02:19
3d23f38 to
b6e58c0
Compare
SiteRelEnby
enabled auto-merge
September 9, 2026 02:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the transient docker-job failure where the
Install syftstep (anchore/sbom-action/download-syft) died on a flaky GitHub release download and failed the whole publish job.The installer action cannot be wrapped in a retry, so the step is now a plain release download run under the existing
.github/scripts/with-retry.sh(the same wrapper already covering cosign's OIDC flake): pinned syft version, tarball verified against the release's own checksums file, and the download-verify-install sequence retried as one unit so a truncated fetch retries rather than failing or installing.cosign stays on its installer action for now - it has not flaked - but can move to the same pattern if it ever does. No change to what gets signed or attested.