Skip to content

Install syft under the CI retry wrapper, pinned and checksummed - #279

Merged
SiteRelEnby merged 1 commit into
mainfrom
ci/retry-syft-install
Sep 9, 2026
Merged

Install syft under the CI retry wrapper, pinned and checksummed#279
SiteRelEnby merged 1 commit into
mainfrom
ci/retry-syft-install

Conversation

@SiteRelEnby

Copy link
Copy Markdown
Contributor

Fixes the transient docker-job failure where the Install syft step (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.

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
SiteRelEnby force-pushed the ci/retry-syft-install branch from 3d23f38 to b6e58c0 Compare September 9, 2026 02:19
@SiteRelEnby
SiteRelEnby merged commit 9c46566 into main Sep 9, 2026
18 checks passed
@SiteRelEnby
SiteRelEnby deleted the ci/retry-syft-install branch September 9, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant