-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attach signature and attach sbom must use STDIN to upload raw string (#…
…2637) * attach signature --signature=/path/to/signature no longer uploads literal filepath if file does not exist * attach sbom --sbom=/path/to/sbom no longer uploads literal filepath if file does not exist To upload raw string, you shoud using STDIN and --signature=- / --sbom=- echo $SIGNATURE | cosign attach signature --signature=- $IMAGE_DIGEST echo $SBOM | cosign attach sbom --sbom=- $IMAGE_DIGEST Signed-off-by: mozillazg <[email protected]>
- Loading branch information
Showing
5 changed files
with
117 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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