Skip to content

Commit 6ad7546

Browse files
committed
Fix release workflow dogfooding to sign the binary itself
forgeseal is a Go project with no JS lockfile, so `forgeseal pipeline` cannot generate an SBOM from the repo. Instead, sign and attest the forgeseal binary directly. The SBOM generation is already validated by CI tests and the 10 project validation suite.
1 parent d88605b commit 6ad7546

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,23 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

35-
# Dogfood: run forgeseal's own pipeline on itself
35+
# Dogfood: sign and attest the forgeseal binary itself
3636
- name: Build forgeseal for dogfooding
3737
run: make build
3838

39-
- name: Generate SBOM for forgeseal
39+
- name: Sign forgeseal binary
4040
run: |
41-
./bin/forgeseal pipeline \
42-
--dir . \
43-
--output-dir ./forgeseal-output \
41+
./bin/forgeseal sign \
42+
--artifact ./bin/forgeseal \
43+
--bundle ./forgeseal-output/forgeseal.sigstore.json
44+
45+
- name: Attest forgeseal binary
46+
run: |
47+
mkdir -p ./forgeseal-output
48+
./bin/forgeseal attest \
49+
--subject ./bin/forgeseal \
4450
--sign \
45-
--attest \
46-
--vex-triage
51+
-o ./forgeseal-output/forgeseal.intoto.jsonl
4752
4853
- name: Upload supply chain artifacts
4954
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)