Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

chore(ci): document new workflow #153

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .chainloop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Experimental feature used by Chainloop labs shared workflow https://github.com/chainloop-dev/labs
# It maps the material names with location in disk so they get automatically attested
attestation:
- name: sbom-cdx
path: reports/sbom.cyclonedx.json
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
syft packages . -o spdx-json --file reports/sbom.spdx.json
tar -czf reports/build.tar.gz build

# Upload artifacts so they are shared with the chainloop job
- uses: actions/upload-artifact@v3
with:
name: reports
Expand All @@ -51,6 +52,7 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

# Attest the uploaded artifacts listed in //.chainloop.yaml
chainloop:
uses: chainloop-dev/labs/.github/workflows/chainloop.yml@main
needs: deploy
Expand Down