Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache-from and cache-to options #376

Closed
Xpl0itU opened this issue Apr 13, 2024 · 2 comments
Closed

Add cache-from and cache-to options #376

Xpl0itU opened this issue Apr 13, 2024 · 2 comments

Comments

@Xpl0itU
Copy link

Xpl0itU commented Apr 13, 2024

I have a workflow that gets triggered whenever I create a tag, however, the created cache only works for that tag, and not other tags or any other run at all, see this SO post for what I mean: https://stackoverflow.com/questions/74113734/share-gha-docker-cache-among-branches

@lazka
Copy link
Member

lazka commented Jul 28, 2024

cache-from and cache-to are docker features. I don't understand what this has to do with this action.

@lazka
Copy link
Member

lazka commented Jul 28, 2024

See https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache for cache isolation details.

All tags are isolated. We can't change anything about that.

@lazka lazka closed this as completed Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants