Skip to content

Commit f03cb1a

Browse files
committed
build: fix failing provenance job
1 parent 360e15c commit f03cb1a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/release-manual.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,6 @@ jobs:
140140
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
141141
with:
142142
base64-subjects: "${{ needs.release.outputs.hashes }}"
143-
upload-assets: true
143+
upload-assets: true
144+
compile-generator: true # Self-contained build to avoid Rekor dependency issues
145+

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ jobs:
6464
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
6565
with:
6666
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
67-
upload-assets: true
67+
upload-assets: true
68+
compile-generator: true # Self-contained build to avoid Rekor dependency issues
69+

docs/RELEASE_SETUP.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If something goes wrong:
125125
- Immediately create a security advisory
126126
- Prepare a patch release
127127
- Follow responsible disclosure practices
128-
128+
Unexpected value 'continue-on-error'
129129
## Monitoring
130130

131131
### OpenSSF Scorecard
@@ -164,6 +164,11 @@ Each release should include:
164164
- Verify GoReleaser configuration
165165
- Check workflow permissions
166166

167+
4. **SLSA provenance generation fails (exit code 27)**:
168+
- This is caused by external Rekor service unavailability
169+
- Our workflows use `compile-generator: true` to avoid this dependency
170+
- The generated provenance is still valid and secure
171+
167172
### Getting Help
168173

169174
- GoReleaser docs: https://goreleaser.com

0 commit comments

Comments
 (0)