Unable to cache Docker Compose images #321
moshevayner
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
I'm creating a generic GitHub Action to be used internally within our org, and which will allow us to spin up our Docker Compose services within a GHA workflow and utilize cache as much as possible, to speed up build times.
Here's what I have so far:
And here's an example output of a bake file generated from the
Generate Bake Cache File...
step:However, it doesn't seem like anything is getting cached from the images, and every time I run this action- all the images are getting pulled again.
So I wanted to make sure I'm using the caching option in the correct way? Am I missing something?
As a side note, I saw that it's also possible to pass-in
set
as an input to thedocker/bake-action
action and configure the caching there, so I tried to do something like the below, but that resulted with an errorError: cannot parse bake definitions: ERROR: could not find any target matching '*'
I'd love to get some pointers on that.
Thanks!! 🙏🏼
Beta Was this translation helpful? Give feedback.
All reactions