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

build: support cacheonly exporter#337

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

tonistiigi
Copy link
Member

cacheonly is a fake exporter name supported by moby to avoid default behavior of creating an image. Add support for buildx as well so same flags can be used.

Second commit also adds an env to opt-out of default behavior that is probably a cleaner solution if you don't know if docker or container driver is used by buildx.

cacheonly is supported by moby so add support for buildx
as well so same flags can be used

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants