Skip to content

Commit 4df8ba4

Browse files
SecAI-Hubclaude
andcommitted
Fix cosign install in CI supply-chain verification
Replace sigstore/cosign-installer action (stale SHA pin) with direct binary download from GitHub releases for more reliable CI execution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f5b061 commit 4df8ba4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ jobs:
148148
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
149149

150150
- name: Install cosign (signing & attestation)
151-
uses: sigstore/cosign-installer@3454372be43ec08971210d50303c1018d382600b # v3.8.2
151+
run: |
152+
COSIGN_VERSION="v2.4.3"
153+
curl -sSfL "https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign-linux-amd64" \
154+
-o /usr/local/bin/cosign
155+
chmod +x /usr/local/bin/cosign
152156
153157
- name: Verify SBOM generation (Go services)
154158
run: |

0 commit comments

Comments
 (0)