Skip to content

Commit

Permalink
verify sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterp committed Feb 29, 2024
1 parent 9ebab13 commit d301a48
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/sscs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,22 @@ jobs:
- uses: sigstore/[email protected]

- name: attest the image
- name: generate sbom
shell: bash
run: |
syft attest exoscale/csi-driver-integ-test:sscs
syft scan --output spdx-json exoscale/csi-driver-integ-test:sscs > sbom.json
- name: attach attestation
shell: bash
run: |
cosign attest --predicate sbom.json exoscale/csi-driver-integ-test:sscs
- name: verify the sbom attestation
shell: bash
run: |
cosign verify-attestation exoscale/csi-driver-integ-test:sscs --certificate-identity=https://github.com/exoscale/exoscale-csi-driver/.github/workflows/sscs.yaml@refs/heads/philippsauter/sscs --certificate-oidc-issuer=https://token.actions.githubusercontent.com
- name: Scan image
uses: anchore/scan-action@v3
with:
image: "exoscale/csi-driver-integ-test:sscs"

0 comments on commit d301a48

Please sign in to comment.