Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/release/build/image_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ def sign_image(repository: str, tag: str) -> None:
"sign",
f"--key={pkcs11_uri}",
f"--sign-container-identity={image}",
f"--use-signing-config=false",
f"--new-bundle-format=false",
f"--tlog-upload=false",
image_ref,
]
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def main():
parser.add_argument(
"-s",
"--sign",
action="store_true",
action=argparse.BooleanOptionalAction,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sign was always set and it was overriding the value from build_info.json:

sign = args.sign if args.sign is not None else image_build_info.sign

help="If set force image signing. Default is to infer from build scenario.",
)
parser.add_argument(
Expand Down
Loading