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

Clean image after publishing #501

Closed
kanuku opened this issue Feb 20, 2015 · 2 comments
Closed

Clean image after publishing #501

kanuku opened this issue Feb 20, 2015 · 2 comments

Comments

@kanuku
Copy link

kanuku commented Feb 20, 2015

We are using a CI system to push our images to the registry, after every build.
After pushing an image to the registry, the image is left in the local registry.
It would be great if we could have an extra target to push an image and remove the image locally afterwards.
Something like:
activator clean docker:publishClean

@muuki88
Copy link
Contributor

muuki88 commented Jun 12, 2015

@kanuku did you solve this issue? If you like to do a pull request I would help you.

@lasomethingsomething
Copy link

@muuki88 I've asked our team to see if we can do this -- @kanuku and I are colleagues

NeQuissimus added a commit to NeQuissimus/sbt-native-packager that referenced this issue Apr 17, 2017
This task will call `docker rmi` by default.
The command can be controlled using the dockerRmiCommand key.

Fixes sbt#501
muuki88 pushed a commit that referenced this issue Apr 26, 2017
This task will call `docker rmi` by default.
The command can be controlled using the dockerRmiCommand key.

Fixes #501
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

3 participants