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

Post-Processor: Delete docker image in local build machine after pushing to remote registry #6

Open
ghost opened this issue Mar 19, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 19, 2021

This issue was originally opened by @karthik101 as hashicorp/packer#5361. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


I do not want docker images piling up in my jenkins-slave. Is there any way to not commit images to local build machine and able to push docker image to remote registry?

I tried with "export" in builder and "docker-import" in post-processor but its still keeps a copy.

Thanks,
Karthik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant