Closed glensc closed 3 years ago
Problem is that --cache-from has no effect in GitHub Actions builds. The builds are always full, compiling pecl/mongodb from source:
Example:
Let's save (some) green energy and don't build the extension from the source on each pull request. This results in a bit bigger image, as the source is added twice to layers, but the image is still accurate.
Problem is that --cache-from has no effect in GitHub Actions builds. The builds are always full, compiling pecl/mongodb from source:
Example:
Let's save (some) green energy and don't build the extension from the source on each pull request. This results in a bit bigger image, as the source is added twice to layers, but the image is still accurate.
Example: