Skip to content

Commit cd46333

Browse files
committed
chore: merge dev — green the slsa-verifier smoke job
2 parents 2ba57db + a676d03 commit cd46333

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build-installer.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ jobs:
200200
steps:
201201
- name: install slsa-verifier
202202
run: |
203-
VERIFIER_VERSION=v2.6.0
203+
# v2.7.0+ is required: the v2.1.0 generator records a `dsse:0.0.1`
204+
# Rekor tlog entry, which v2.6.0 rejects ("expected intoto:0.0.2, got
205+
# dsse:0.0.1"). v2.7.0 is also what the generator uses internally.
206+
VERIFIER_VERSION=v2.7.0
204207
curl -sSL \
205208
"https://github.com/slsa-framework/slsa-verifier/releases/download/${VERIFIER_VERSION}/slsa-verifier-linux-amd64" \
206209
-o /usr/local/bin/slsa-verifier
@@ -214,7 +217,10 @@ jobs:
214217

215218
- name: download provenance attestation from release
216219
run: |
220+
# This job has no checkout, so `gh release download` can't infer the
221+
# repo from git context ("fatal: not a git repository"). Pass it with -R.
217222
gh release download "${GITHUB_REF_NAME}" \
223+
-R "${GITHUB_REPOSITORY}" \
218224
--pattern 'owlette-installer.intoto.jsonl' \
219225
--dir .
220226
env:

0 commit comments

Comments
 (0)