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

Allow tag parameter for cache exporter type=local #3111

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Sep 13, 2022

This follows up on #1295:

LGTM, but we need this in --export-cache as well.

(which never seemed to make it in)

Allow overriding the tag field for the local cache, which enables "scoping" cache exports, to allow multiple outputs to a single location.

I've also reworked the if statement that was added to read the tag parameter, which is quite challenging to mentally parse.

Allow overriding the tag field for the local cache, which enables
"scoping" cache exports, to allow multiple outputs to a single location.

This was previously enabled only for importing cache, but exporting
cache was never implemented.

Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
@tonistiigi
Copy link
Member

PTAL @AkihiroSuda

@tonistiigi tonistiigi merged commit 61307b8 into moby:master Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants