Skip to content

Commit 2c4f209

Browse files
committed
Clean up the push test image
1 parent c5f4d5a commit 2c4f209

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/deploy_mos.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ def UpdateHomebrew(args):
181181
"--tag=docker.io/mgos/mos:_push_test_do_not_use",
182182
"tools/docker/push_test"])
183183
RunSubprocess(["docker", "push", "docker.io/mgos/mos:_push_test_do_not_use"])
184-
# TODO: Delete the temporary image. It's not a standard Docker operation
184+
RunSubprocess(["docker", "rmi", "docker.io/mgos/mos:_push_test_do_not_use"], quiet=True)
185+
# TODO: Delete the temporary image on the remote side. It's not a standard Docker operation
185186
# and is therefore a bit tricky.
186187
print("Ok, we can build and push images.")
187188

0 commit comments

Comments
 (0)