Pull latest image tag, so we can identity it

`docker image ls` doesn't tell us what the latest deployed image is (e.g
if we've rolled back). Pull the latest image tag through to the server
so we can use it instead.
This commit is contained in:
Donal McBreen
2023-03-23 14:35:12 +00:00
parent 65b90dd5c8
commit 1ed4a37da2
6 changed files with 11 additions and 37 deletions

View File

@@ -29,7 +29,7 @@ class CliBuildTest < CliTestCase
test "pull" do
run_command("pull").tap do |output|
assert_match /docker image rm --force dhh\/app:999/, output
assert_match /docker pull dhh\/app:999/, output
assert_match /docker pull dhh\/app:latest/, output
end
end