Skip to content

Commit

Permalink
feat(rootfs/deploy.py): remove image after it's pushed
Browse files Browse the repository at this point in the history
Fixes deis#29
  • Loading branch information
Aaron Schlesinger committed Mar 16, 2016
1 parent 4c7d718 commit 74d8b47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootfs/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ def log_output(stream, decode):
print("pushing to registry")
stream = client.push(registry+'/'+imageName, tag=imageTag, stream=True, insecure_registry=True)
log_output(stream, False)
print("deleting image")
stream = client.remote_image(registry+'/'+imageName, True, False)
log_output(stream, False)

0 comments on commit 74d8b47

Please sign in to comment.