GitHub integration: "exporting to oci image format" takes forever.
It's been running for over 30 minutes on this step. Same image builds in less than 5 minutes in GitHub Actions.
Why does it take so long? This is the first build. Would it be better for subsequent builds (assuming there's some caching involved?)?
To me this is unusable and I much rather just do the build and push myself and just change the endpoint image version.
14 Replies
Well, after a while it failed with the following error:
Expect a fix in the next few weeks. We are aware of it
So it finally finished (just took a long time).
I can see that subsequent builds are using Docker layer caching (good), so the actual build is pretty fast. But still, the "exporting to oci image format" takes forever.
Yeah we have caching for build and push. This is just a temporary thing thats there but will be gone soon
how soon? I'm dealing with it for now, but just wondering when this change could be expected, I've had builds run over an hour due to the oci image format step
One to two week. I have a fix internally but need to test it and push it out
awesome, thanks
Almost an hour spent "exporting to oci image format. " not very usable right now 😦
Loving the rest of github integration though
It will go down to minutes in the next couple of weeks
We have a fix already. We cant release two days before christmas
The last layer (single uncached) of my docker takes 0.1 seconds to complete. Then, starting with "exporting to oci image format" takes 20 minutes.
This is not, expected time and should be faster when fix will be released, right?
I can either wait, or just download github repo within request, which is annoying, but fine
the new changes with faster image builds will likely go out end of jan
Here is my solution to the problem
haha quite a workaround
I'm following this thread since December and would be absolutely happy to have faster image builds
As Arkadiy said in my case too there is only change on last uncached part on code level, however I still got >1 hr (sometimes 2-3 or even 4 hours) of "exporting to oci image format. This takes a little bit of time. Please be patient."
It also randomly fails due to network errors after a while on build