GitHub CLI | Take GitHub to the command line

PHOTO EMBED

Tue Mar 11 2025 15:34:18 GMT+0000 (Coordinated Universal Time)

Saved by @TuckSmith541

# Download attestations for a local artifact linked with an organization
$ gh attestation download example.bin -o github

# Download attestations for a local artifact linked with a repository
$ gh attestation download example.bin -R github/example

# Download attestations for an OCI image linked with an organization
$ gh attestation download oci://example.com/foo/bar:latest -o github
content_copyCOPY

https://cli.github.com/manual/gh_attestation_download