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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user