-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
* Add yes flag desc Signed-off-by: mrlutik <[email protected]> * Fix typo in shell command Signed-off-by: mrlutik <[email protected]> * Add backticks to the flag representation in description Co-authored-by: ltagliaferri <[email protected]> Signed-off-by: Eugene <[email protected]> --------- Signed-off-by: mrlutik <[email protected]> Signed-off-by: Eugene <[email protected]> Co-authored-by: ltagliaferri <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,3 +96,10 @@ You can sign it with the normal `cosign sign` command and flags: | |
```shell | ||
$ cosign sign gcr.io/user/demo/artifact | ||
Check failure on line 97 in content/en/signing/signing_with_blobs.md GitHub Actions / markdownlintDollar signs used before commands without showing output
|
||
``` | ||
Check failure on line 98 in content/en/signing/signing_with_blobs.md GitHub Actions / markdownlintFenced code blocks should be surrounded by blank lines
|
||
## Non-Interactive Signing with the Yes Flag | ||
Check failure on line 99 in content/en/signing/signing_with_blobs.md GitHub Actions / markdownlintHeadings should be surrounded by blank lines
|
||
|
||
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. | ||
|
||
``` | ||
Check failure on line 103 in content/en/signing/signing_with_blobs.md GitHub Actions / markdownlintFenced code blocks should have a language specified
|
||
cosign sign-blob --yes -key cosign.key myregistry/myimage:latest | ||
``` | ||
Check failure on line 105 in content/en/signing/signing_with_blobs.md GitHub Actions / markdownlintFiles should end with a single newline character
|