How to reduce time cost of initializing containers? #25975
-
Here is my action progress. You can see the time of initializing containers is very long. On circle CI, the time is about 30 seconds. However in github actions, it costs twice. How to reduce the time cost? (i.e. local Docker image, caching image, …) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Generally, the “Initialize containers” step mainly does the following things:
The “Initialize containers” step is automatically generated by GitHub Actions, and we have no methods to reduce the time it takes. |
Beta Was this translation helpful? Give feedback.
-
Thanks :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
That is sad( Would be cool to have something like cache but for docker images 🤷 |
Beta Was this translation helpful? Give feedback.
-
Is it still not possible to speed up the initializing containers step? |
Beta Was this translation helpful? Give feedback.
-
Would be awesome if these steps could parallelized on the runner side (eg. with a flag in the workflow yaml)... I suspect it may not be CPU/IO bound some of the time. |
Beta Was this translation helpful? Give feedback.
@JungHanter,
Generally, the “Initialize containers” step mainly does the following things:
The “Initialize containers” step is automatically generated by GitHub Actions, and we have no methods to reduce the time it takes.