@@ -12,17 +12,17 @@ def image():
1212
1313@image .command ()
1414@click .option ("--repo" , required = True , type = str )
15- @click .option ("--branch " , required = True , type = str )
15+ @click .option ("--commit-sha " , required = True , type = str )
1616@click .option ("--registry" , required = True , type = str )
1717@click .option ("--tag" , required = True , type = str )
1818@click .option ("--build-args" , required = False , type = str )
1919@click .option ("--arches" , required = False , type = str )
2020@click .option ("--action" , required = False , type = str )
21- def build (repo , branch , registry , tag , build_args , arches , action = "load" ):
21+ def build (repo , commit_sha , registry , tag , build_args , arches , action = "load" ):
2222 """
23- Build bitcoind and bitcoin-cli from <repo>/<branch > as <registry>:<tag>.
23+ Build bitcoind and bitcoin-cli from <repo> at <commit_sha > as <registry>:<tag>.
2424 Optionally deploy to remote registry using --action=push, otherwise image is loaded to local registry.
2525 """
26- res = build_image (repo , branch , registry , tag , build_args , arches , action )
26+ res = build_image (repo , commit_sha , registry , tag , build_args , arches , action )
2727 if not res :
2828 sys .exit (1 )
0 commit comments