Skip to content

Instantly share code, notes, and snippets.

@ogazitt
Created January 16, 2023 23:54
Embed
What would you like to do?
brew install cosign
echo $PAT | docker login -u <GitHub-account> ghcr.io --password-stdin
cosign initialize
cosign generate-key-pair
cosign sign --key cosign.key ghcr.io/<org>/policy-template:1.0.0
cosign verify --key cosign.pub ghcr.io/<org>/policy-template:1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment