Created
January 16, 2023 23:54
-
-
Save ogazitt/2d26d88026d13456238058aff9af2ffb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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