@@ -94,7 +94,7 @@ def oscontainer_extract(containers_storage, tmpdir, src, dest,
94
94
# oscontainer with it.
95
95
def oscontainer_build (containers_storage , tmpdir , src , ref , image_name_and_tag ,
96
96
base_image , tls_verify = True , pushformat = None ,
97
- add_directories = [], cert_dir = "" , authfile = "" , digestfile = None ,
97
+ add_directories = [], cert_dir = "" , authfile = "" ,
98
98
output = None , display_name = None , labeled_pkgs = []):
99
99
r = OSTree .Repo .new (Gio .File .new_for_path (src ))
100
100
r .open (None )
@@ -212,9 +212,6 @@ def oscontainer_build(containers_storage, tmpdir, src, ref, image_name_and_tag,
212
212
print ("Saving container to oci-archive" )
213
213
podCmd = buildah_base_argv + ['push' ]
214
214
215
- if digestfile is not None :
216
- podCmd .append (f'--digestfile={ digestfile } ' )
217
-
218
215
if pushformat is not None :
219
216
podCmd .append (f'--format={ pushformat } ' )
220
217
@@ -264,11 +261,6 @@ def main():
264
261
parser_build .add_argument ("--labeled-packages" , help = "Packages whose NEVRAs are included as labels on the image" )
265
262
# For now we forcibly override to v2s2 https://bugzilla.redhat.com/show_bug.cgi?id=2058421
266
263
parser_build .add_argument ("--format" , help = "Pass through push format to buildah" , default = "v2s2" )
267
- parser_build .add_argument (
268
- "--digestfile" ,
269
- help = "Write image digest to file" ,
270
- action = 'store' ,
271
- metavar = 'FILE' )
272
264
parser .add_argument ("--output" , required = True , help = "Write image as OCI archive to file" )
273
265
args = parser .parse_args ()
274
266
@@ -300,7 +292,6 @@ def main():
300
292
containers_storage , tmpdir , args .src , args .rev , args .name ,
301
293
getattr (args , 'from' ),
302
294
display_name = args .display_name ,
303
- digestfile = args .digestfile ,
304
295
output = args .output ,
305
296
add_directories = args .add_directory ,
306
297
pushformat = args .format ,
0 commit comments