diff --git a/README.md b/README.md index 223bd618..ca56147a 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,18 @@ The Docker image includes the working binary that can be executed by using the `
-## Usage +## Available commands + +- Generate + Command that generates the provenance. +- Sign + Command that signs an existing provenance file. +- Help + Command that prints helpful information about what commands and arguments can be used. +- Version + Command that prints version information about the binary that is used. + +### Generate Provenance The easiest way to use this action is to add the following into your workflow file. Additional configuration might be necessary to fit your usecase. @@ -193,11 +204,11 @@ The easiest way to use this action is to add the following into your workflow fi -### Description +#### Description An action to generate SLSA build provenance for an artifact -### Inputs +#### Inputs | parameter | description | required | default | | - | - | - | - | @@ -209,14 +220,43 @@ An action to generate SLSA build provenance for an artifact | tag_name | The github release to generate provenance on.\n (if set the artifacts will be downloaded from the release and the provenance will be added as an additional release asset.) | `false` | | | extra_materials | paths to files containing SLSA v0.1 formatted materials (JSON array) in to include in the provenance | `false` | | -### Available commands + -- Generate - Command that generates the provenance. -- Help - Command that prints helpful information about what commands and arguments can be used. -- Version - Command that prints version information about the binary that is used. +### Sign Provenance + +Used like this, the action will sign an existing provenace file and generate a signed version of it in in-toto envelope format. + +#### Usage + +