Skip to content

Commit cafa9b0

Browse files
committed
docs: add attestation subcommands (#193)
1 parent 0390daf commit cafa9b0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,33 @@ definitions:
393393
docker:
394394
memory: 2048 # Optional: Increase if needed
395395
```
396+
## Attestation Commands
397+
398+
The following attestation subcommands are available:
399+
400+
### docker scout attest get
401+
Retrieve attestation data for a specific image.
402+
403+
Example:
404+
docker scout attest get <image>
405+
406+
### docker scout attest list
407+
List available attestations for an image.
408+
409+
Example:
410+
docker scout attest list <image>
411+
412+
### Additional Flags
413+
414+
--predicate-type
415+
Specifies the type of predicate for filtering attestations.
416+
417+
--verify
418+
Verifies the integrity and authenticity of the image.
396419

397420
This example assumes two secrets to be available to authenticate against Docker Hub, called `DOCKER_HUB_USER` and `DOCKER_HUB_PAT`, also is necessary more two secrets called `CI_REGISTRY`, `CI_REGISTRY_IMAGE` about registry info.
398421

399422
## License
400423

401424
The Docker Scout CLI is licensed under the Terms and Conditions of the [Docker Subscription Service Agreement](https://www.docker.com/legal/docker-subscription-service-agreement/).
425+

0 commit comments

Comments
 (0)