mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 21:00:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Download attestations for a local file associated with a specific repository:
|
||||
|
||||
`gh {{[at|attestation]}} download {{path/to/artifact.bin}} {{[-R|--repo]}} {{owner}}/{{repo}}`
|
||||
`gh {{[at|attestation]}} download {{path/to/artifact.bin}} {{[-R|--repo]}} {{owner}}/{{repository}}`
|
||||
|
||||
- Download attestations for an OCI container image associated with an organization:
|
||||
|
||||
@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Verify a local artifact online against attestations from a specific repository:
|
||||
|
||||
`gh {{[at|attestation]}} verify {{path/to/artifact.bin}} {{[-R|--repo]}} {{owner}}/{{repo}}`
|
||||
`gh {{[at|attestation]}} verify {{path/to/artifact.bin}} {{[-R|--repo]}} {{owner}}/{{repository}}`
|
||||
|
||||
- Verify an artifact, requiring it was signed by a specific reusable workflow for enhanced security:
|
||||
|
||||
`gh {{[at|attestation]}} verify {{path/to/artifact.bin}} {{[-o|--owner]}} {{organization_name}} --signer-workflow {{owner}}/{{repo}}/{{path/to/workflow.yml}}`
|
||||
`gh {{[at|attestation]}} verify {{path/to/artifact.bin}} {{[-o|--owner]}} {{organization_name}} --signer-workflow {{owner}}/{{repository}}/{{path/to/workflow.yml}}`
|
||||
|
||||
- Verify an artifact and output the detailed verification results as JSON for use in policy engines:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user