We are currently trying to implement caching for Docker layers using the v4 Action.
We encountered the problem, that the outputs are always empty (i.e. outputs.cache-hit == null). We already investigated into almost every edge case and became stuck.
If I interpret the documentation correctly, such a missing output should never occur (should always be either true or false?)
Those are the respective steps from our Github Workflow:
Hey guys! :)
We are currently trying to implement caching for Docker layers using the v4 Action.
We encountered the problem, that the outputs are always empty (i.e.
outputs.cache-hit == null
). We already investigated into almost every edge case and became stuck.If I interpret the documentation correctly, such a missing output should never occur (should always be either
true
orfalse
?)Those are the respective steps from our Github Workflow:
Output step "Docker layers caching":
Output step "Check cache hit":
Are we essentially doing something wrong?
Any help is appreciated! Thanks in advance! :)