Skip to content

Action fails on transient network errors during download #209

@jfernandez

Description

@jfernandez

The action failed on a scheduled build due to what appears to be a transient network error when downloading cosign:

Run sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad
INFO: Downloading bootstrap version 'v3.0.2' of cosign to verify version to be installed...
      https://github.com/sigstore/cosign/releases/download/v3.0.2/cosign-linux-amd64
Error: Process completed with exit code 22.

Exit code 22 is curl's HTTP error code, likely from a temporary GitHub CDN issue. Re-running the workflow succeeded without any changes.

Depending on when this action runs in a workflow, a transient failure here could result in images being published without signatures, which is exactly what happened in my case.

https://github.com/jfernandez/hyprboot/actions/runs/20188574583

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions