feat: tag the "latest" image on tags deploy

If the image tag being deployed is not `latest`, we'll retag it as such once the deploy is complete.

Closes #3355
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-28 19:17:26 -05:00
parent df1987e6c4
commit 4a3707d36d
3 changed files with 12 additions and 2 deletions

View File

@@ -45,6 +45,10 @@ teardown() {
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "docker images | egrep "dokku/${TEST_APP}"| egrep -q latest"
echo "output: $output"
echo "status: $status"
assert_success
}
@test "(tags) tags:deploy (missing tag)" {