Closed j-manu closed 2 years ago
Hey!
Pushed an example GitHub Action which I use in one of the apps: https://github.com/evilmartians/ruby-on-whales/blob/main/example/.github/workflows/test.yml
The key is to use buildx (which supports GitHub Actions cache out-of-the-box).
Note that since we store bundled gems in a volume, it's not cached. That could be fixed by using different volume drivers, though I haven't tried this approach yet.
Thanks you!
So the build args and tags have to be kept in sync between github actions and compose file.
Reference
When using
dip.yml
it is convenient to use it in github actions as well. Example from a repo of mineBy default this doesn't cache the images created in
dip build
step. How can we do that?