Skip to content

Commit

Permalink
public-key: fix command description (#2024)
Browse files Browse the repository at this point in the history
* public-key: fix command description

Signed-off-by: Furkan <furkan.turkal@trendyol.com>

* fix: docgen

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
  • Loading branch information
Dentrax and developer-guy authored Jun 24, 2022
1 parent 6eeb3cf commit a8217bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/cosign/cli/public_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ func PublicKey() *cobra.Command {
cosign public-key --key hashivault://[KEY]
# extract public key from GitLab with project name
cosign verify --key gitlab://[OWNER]/[PROJECT_NAME] <IMAGE>
cosign public-key --key gitlab://[OWNER]/[PROJECT_NAME] <IMAGE>
# extract public key from GitLab with project id
cosign verify --key gitlab://[PROJECT_ID] <IMAGE>`,
cosign public-key --key gitlab://[PROJECT_ID] <IMAGE>`,
PreRunE: func(cmd *cobra.Command, args []string) error {
if !options.OneOf(o.Key, o.SecurityKey.Use) {
return &options.KeyParseError{}
Expand Down
4 changes: 2 additions & 2 deletions doc/cosign_public-key.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8217bc

Please sign in to comment.