Remove accessory images using tags rather than labels

This commit is contained in:
Jeremy Daer
2023-03-22 23:57:43 -07:00
committed by Jeremy Daer
parent e2d10ec5a9
commit e859a581ab
4 changed files with 5 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ class CommandsAccessoryTest < ActiveSupport::TestCase
test "remove image" do
assert_equal \
"docker image prune --all --force --filter label=service=app-mysql",
"docker image rm --force private.registry/mysql:8.0",
@mysql.remove_image.join(" ")
end
end