Skip to content

Commit

Permalink
chore: update slsa version to v1.0 in docker-based workflow (slsa-fra…
Browse files Browse the repository at this point in the history
…mework#2087)

Updates the predicate type version string in generate-attestations to
v1.0 for docker-based builder.

This is needed to fix
slsa-framework#1997 as I
update slsa-framework/slsa-verifier#561

Signed-off-by: Asra Ali <asraa@google.com>
  • Loading branch information
asraa authored and laurentsimon committed May 2, 2023
1 parent 7c73553 commit 35d3b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builder_docker-based_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ jobs:
with:
slsa-layout-file: "${{ needs.build.outputs.slsa-outputs-name }}"
predicate-file: "predicate-${{ needs.rng.outputs.value }}"
predicate-type: "https://slsa.dev/provenance/v1.0?draft"
predicate-type: "https://slsa.dev/provenance/v1"
output-folder: "attestations-${{ needs.rng.outputs.value }}"

- name: Upload unsigned intoto attestations file for pull request
Expand Down
2 changes: 1 addition & 1 deletion internal/builders/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ as an [in-toto](https://in-toto.io/) statement with a SLSA predicate.
}
}
],
"predicateType": "https://slsa.dev/provenance/v1.0?draft",
"predicateType": "https://slsa.dev/provenance/v1",
"predicate": {
"buildDefinition": {
"buildType": "https://slsa.dev/container-based-build/v0.1?draft",
Expand Down

0 comments on commit 35d3b39

Please sign in to comment.