Docker Cache Not Working for Release Builds #1563
Unanswered
mohammed-rahib
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a GitHub workflow to build and push Docker images for amd64 and arm64 using buildx action. The workflow is triggered in two ways: one by pushing to a branch and the other by creating a release version.The issue is that when the workflow is triggered by a push event, the cache is used effectively, but when triggered by a release, it is not. How can I resolve this?
My assumption is that for push events, caching works because the same branch is used, whereas for releases, it falls outside the expected scope. Is this correct? What would be the best alternative to address this?
Beta Was this translation helpful? Give feedback.
All reactions