✅ Add (hopefully) failing test for image labeling

This commit is contained in:
Milan Vit authored and Jose Diaz-Gonzalez committed 2021-04-16 12:28:56 -04:00
1 parent 6d66590fd4
commit 15f4e94b4f
1 file changed
+8
+8
View File
@@ -116,3 +116,11 @@ EOF
echo "status: $status" echo "status: $status"
assert_failure assert_failure
} }
@test "(git) git:from-image labels correctly" {
run /bin/bash -c "dokku git:from-image $TEST_APP gliderlabs/logspout:v3.2.14"
run /bin/bash -c "docker image inspect dokku/$TEST_APP:latest | grep 'alternate-tags' | grep 'gliderlabs/logspout:v3.2.14'"
echo "output: $output"
echo "status: $status"
assert_success
}