Skip to content

Commit

Permalink
Add yes flag desc
Browse files Browse the repository at this point in the history
Signed-off-by: mrlutik <yaievgeniy@gmail.com>
  • Loading branch information
MrLutik committed Nov 21, 2023
1 parent e67edae commit 34ce217
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/en/signing/signing_with_blobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,10 @@ You can sign it with the normal `cosign sign` command and flags:
```shell
$ cosign sign gcr.io/user/demo/artifact
```
## Non-Interactive Signing with the Yes Flag

In situations where automated signing is required, such as within CI/CD pipelines, the --yes flag becomes essential. This flag, when used with signing commands, bypasses any confirmation prompts, enabling a smooth, uninterrupted signing process. This is particularly crucial in automated environments where manual input isn't feasible. The --yes flag ensures that your signing operations can proceed without manual intervention, maintaining the efficiency and speed of your automated workflows.

```
cosign sign --yes -key cosign.key myregistry/myimage:latest
```

0 comments on commit 34ce217

Please sign in to comment.