Open mattmoor opened 1 year ago
Ok, so the actual problem here is that oci_append
attempts to write the resulting image back to base_image
, and I was passing the base image by digest.
This is a sort of design flaw we should think through because it makes it impossible to append to a base image from a public source, but explains the error!
crane append
has similar semantics, but it has other options to make it not that way:
base_image
is not configured, we can simply append to scratch
and produce an image that's just the given contentsrepo
is configured, we push to that repo instead of pushing over base_image
'scrane append
will also tag, but we should keep that as a responsibility of oci_tag
.