oci-build-task icon indicating copy to clipboard operation
oci-build-task copied to clipboard

Add push support

Open cmodk opened this issue 3 years ago • 3 comments

Enables the push functions of buildkit.

cmodk avatar Jan 07 '22 11:01 cmodk

Hi, could you give some usage examples for this PR?

oci-build-task is basically a task first of all, so adding push function is against its design pattern. Could you use a resource for pushing?

xtremerui avatar Jan 07 '22 14:01 xtremerui

Hi

Yes, sure. I am building multi platform images with IMAGE_PLATFORM and using the output i encounter the following: #44 ERROR: docker exporter does not currently support exporting manifest lists

It seemed a little tedious to build every platform separately and then doing the manifest separately and then pushing. Even with templating, the task files grow large

cmodk avatar Jan 07 '22 17:01 cmodk

I also think building and pushing multi-arch images with concourse is too difficult as it stands (unless I'm missing something). This feature or the ability to create multi-arch images with a different format (since docker format doesn't support multi-arch) would be much appreciated.

arulagrawal avatar Feb 05 '22 10:02 arulagrawal