Skip to content

Commit

Permalink
Update docs/oci-image-verification.md
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
  • Loading branch information
rdimitrov and kommendorkapten committed Dec 6, 2023
1 parent 0cff22e commit f938dc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/oci-image-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ In this example, we'll use the `sigstore-go` CLI to verify an OCI image referenc
The image we are going to verify is `ghcr.io/stacklok/minder/server:latest`

```shell
sigstore-go --ociImage="ghcr.io/stacklok/minder/server:latest" --tufRootURL="tuf-repo-cdn.sigstore.dev" --expectedSANRegex="^https://github.com/stacklok/minder/" --expectedIssuer="https://token.actions.githubusercontent.com"
$ sigstore-go --ociImage="ghcr.io/stacklok/minder/server:latest" \
--tufRootURL="tuf-repo-cdn.sigstore.dev" \
--expectedSANRegex="^https://github.com/stacklok/minder/" \
--expectedIssuer="https://token.actions.githubusercontent.com"
```

Upon successful verification, the CLI will print the verification result in JSON format along with a `Verification successful!` message.
Expand Down

0 comments on commit f938dc2

Please sign in to comment.