Skip to content

Commit

Permalink
Add description for save-pcrs-in-annotation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfan1126 committed May 11, 2024
1 parent 4c66d36 commit 40c543a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ steps:
eif-file-name: enclave.eif
eif-info-file-name: enclave-info.json
artifact-tag: latest
save-pcrs-in-annotation: true
github-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -51,7 +52,7 @@ If `enable-ghcr-push` is `true`, the following permission is required for the wo

### Inputs

* `docker-build-context-path`
* `docker-build-context-path` (**Required**)

The path of the Docker build context. Usually, it is the directory containing your `Dockerfile`.

Expand Down Expand Up @@ -97,6 +98,16 @@ If `enable-ghcr-push` is `true`, the following permission is required for the wo

This must be set if `enable-ghcr-push` is `true`.

* `save-pcrs-in-annotation`

(Default: `false`)

Set to `true` to add PRC values of the EIF (PCR0, PCR1 and PCR2) as artifact annotation.

Read ORAS documentation for more detail: https://oras.land/docs/how_to_guides/manifest_annotations

If this input is `true`, `enable-ghcr-push` must also set to `true`.

* `github-token`

(Default: `${{ github.token }}`)
Expand Down

0 comments on commit 40c543a

Please sign in to comment.