Closed rdrgmnzs closed 2 years ago
@xtremerui added some tests which should determine if the image is pushed correctly. I decided against duplicating the glob matching tests as I don't think there'd be a lot to gain from them but let me know if you want me to add them anyway.
Add support for building OCI multi-arch images.
It should work in conjunction with the work on https://github.com/concourse/oci-build-task/pull/93
This PR assumes that the image is being provided to it as a directory rather than a tar. This is because google/go-containerregistry does not support importing multi-arch images at this time. oci-build-task is already extracting the image to a directory for similar reasons, so instead of doubling up the work we just consume the directory it creates.
Signed-off-by: Rodrigo Menezes brdude@gmail.com